(14.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (18.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` Migrating to CreateDummyModels (20140311235439)  (11.2ms) CREATE TABLE `dummy_models` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `text` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20140311235439')  (0.3ms) COMMIT Migrating to CreateComments (20140312000846)  (9.2ms) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(50) DEFAULT '', `comment` text, `commentable_id` int(11), `commentable_type` varchar(255), `user_id` int(11), `role` varchar(255) DEFAULT 'comments', `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB  (12.1ms) CREATE INDEX `index_comments_on_commentable_type` ON `comments` (`commentable_type`)   (17.4ms) CREATE INDEX `index_comments_on_commentable_id` ON `comments` (`commentable_id`)  (13.4ms) CREATE INDEX `index_comments_on_user_id` ON `comments` (`user_id`)   (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20140312000846')  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-10 19:35:43', 1, 'blah', '2015-06-10 19:35:43') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-10 15:35:43 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 171ms (Views: 124.0ms | ActiveRecord: 19.6ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-10 19:35:43', 1, 'blah', '2015-06-10 19:35:43') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-10 15:35:43 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-10 19:35:43', 1, 'blah', '2015-06-10 19:35:43') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-10 15:35:43 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (61.7ms) Completed 200 OK in 70ms (Views: 63.2ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-10 15:35:44 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-10 19:35:44', '2015-06-10 19:35:44') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-10 15:35:44 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.4ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (26.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SQL (7.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:47', 1, 'blah', '2015-06-16 12:48:47')  (6.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:49 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (7.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (71.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 273ms (Views: 134.8ms | ActiveRecord: 106.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:48:50 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:48:50 -0400  (6.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.2ms) SELECT DATABASE() as db  (11.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (9.5ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:50', 1, 'blah', '2015-06-16 12:48:50')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:50 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (44.3ms) TRUNCATE TABLE `comments`;  (14.1ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:52', 1, 'blah', '2015-06-16 12:48:52')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:52 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (51.2ms) Completed 200 OK in 58ms (Views: 52.3ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:58', 1, 'blah', '2015-06-16 12:48:58')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 12:48:58', 'delivery_man', '2015-06-16 12:48:58')  (12.0ms) COMMIT Redirected to http://127.0.0.1:64190/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 17ms (ActiveRecord: 12.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.4ms) Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.4ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:50:56', 1, 'blah', '2015-06-16 12:50:56')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 42ms (Views: 12.6ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:50:58 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:50:58 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (21.0ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:50:58', 1, 'blah', '2015-06-16 12:50:58')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (36.2ms) Completed 200 OK in 47ms (Views: 39.7ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.9ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:50:58', 1, 'blah', '2015-06-16 12:50:58')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.5ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:51:01', 1, 'blah', '2015-06-16 12:51:01')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 12:51:01', 'delivery_man', '2015-06-16 12:51:01')  (0.4ms) COMMIT Redirected to http://127.0.0.1:64534/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.3ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.2ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (2.8ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` Migrating to CreateDummyNoRoleModels (20150612102101)  (35.7ms) CREATE TABLE `dummy_no_role_models` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `text` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150612102101')  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:05', 1, 'blah', '2015-06-16 12:55:05')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 49ms (Views: 14.4ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:55:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:55:07 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (2.8ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:07', 1, 'blah', '2015-06-16 12:55:07')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (37.6ms) Completed 200 OK in 47ms (Views: 41.0ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.1ms) TRUNCATE TABLE `comments`;  (1.7ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:07', 1, 'blah', '2015-06-16 12:55:07')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.7ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:10', 1, 'blah', '2015-06-16 12:55:10')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 12:55:10', 'delivery_man', '2015-06-16 12:55:10')  (0.4ms) COMMIT Redirected to http://127.0.0.1:64590/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.4ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:12', 1, 'blah', '2015-06-16 12:55:12')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:55:12 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (2.6ms) TRUNCATE TABLE `comments`;  (1.7ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:12', 1, 'blah', '2015-06-16 12:55:12')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:55:12 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (2.9ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:12', 1, 'blah', '2015-06-16 12:55:12')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 08:55:12 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 12:55:12', '2015-06-16 12:55:12')  (0.3ms) COMMIT Redirected to http://127.0.0.1:64590/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.8ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:59:35', 1, 'blah', '2015-06-16 12:59:35')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:38 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (58.8ms) Completed 200 OK in 129ms (Views: 86.2ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:59:38 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:59:38 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Processing by Commenteux::NotesController#create as JS Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Processing by Commenteux::NotesController#create as JS Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (2.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Processing by Commenteux::NotesController#create as JS DummyModel Load (7.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.6ms) BEGIN Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Processing by Commenteux::NotesController#create as JS SQL (3.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')  (2.1ms) BEGIN Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (3.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')  (10.2ms) COMMIT Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 49ms (ActiveRecord: 17.6ms) DummyModel Load (5.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (7.6ms) COMMIT Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 302 Found in 56ms (ActiveRecord: 32.7ms) DummyModel Load (4.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (3.5ms) BEGIN Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400  (21.9ms) BEGIN Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} SQL (4.0ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26') SQL (13.8ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')  (19.8ms) BEGIN  (0.7ms) COMMIT DummyModel Load (2.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man  (8.8ms) COMMIT Completed 302 Found in 67ms (ActiveRecord: 32.9ms) SQL (4.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')  (0.8ms) BEGIN Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Processing by Commenteux::NotesController#create as JS Completed 302 Found in 68ms (ActiveRecord: 41.1ms)  (8.5ms) COMMIT Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} SQL (1.0ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26') Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Processing by Commenteux::NotesController#index as JS Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 DummyModel Load (2.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Completed 302 Found in 68ms (ActiveRecord: 36.8ms) Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (0.6ms) COMMIT  (0.4ms) BEGIN Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Processing by Commenteux::NotesController#index as JS DummyModel Load (3.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 302 Found in 59ms (ActiveRecord: 5.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} SQL (3.0ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26') Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Comment Load (6.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC DummyModel Load (5.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 DummyModel Load (8.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (8.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Comment Load (6.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (20.9ms) COMMIT Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400 Comment Load (8.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 302 Found in 69ms (ActiveRecord: 27.2ms) Comment Load (7.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (11.9ms) Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (21.3ms) DummyModel Load (3.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (12.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 70ms (Views: 19.7ms | ActiveRecord: 21.0ms) Completed 200 OK in 91ms (Views: 35.1ms | ActiveRecord: 20.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.3ms) Comment Load (6.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Processing by Commenteux::NotesController#index as JS Processing by Commenteux::NotesController#index as JS Completed 200 OK in 85ms (Views: 11.2ms | ActiveRecord: 45.4ms) Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400 Comment Load (4.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400 Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Processing by Commenteux::NotesController#create as JS Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) DummyModel Load (12.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 62ms (Views: 6.7ms | ActiveRecord: 20.8ms) DummyModel Load (0.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (3.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (4.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Comment Load (4.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 34ms (Views: 4.0ms | ActiveRecord: 10.1ms) DummyModel Load (9.0ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 DummyModel Load (33.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (1.0ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (25.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 69ms (Views: 4.0ms | ActiveRecord: 41.9ms)  (11.1ms) BEGIN Comment Load (13.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 42ms (Views: 3.9ms | ActiveRecord: 23.4ms) SQL (7.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:27', 'delivery_man', '2015-06-16 13:02:27')  (0.4ms) COMMIT Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 65ms (ActiveRecord: 52.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (1.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms) Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 3.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.6ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:02:46', 1, 'blah', '2015-06-16 13:02:46')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:48 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (59.5ms) Completed 200 OK in 241ms (Views: 202.5ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:02:48 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:02:48 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.3ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:03:43', 'delivery_man', '2015-06-16 13:03:43')  (5.6ms) COMMIT Redirected to http://127.0.0.1:64849/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 24ms (ActiveRecord: 7.7ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400 SQL (3.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:03:43', 'delivery_man', '2015-06-16 13:03:43') Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (10.8ms) COMMIT Redirected to http://127.0.0.1:64849/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 28ms (ActiveRecord: 15.2ms) DummyModel Load (4.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.8ms) Completed 200 OK in 31ms (Views: 17.6ms | ActiveRecord: 2.2ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms) Completed 200 OK in 54ms (Views: 2.3ms | ActiveRecord: 39.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.9ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:05:11', 1, 'blah', '2015-06-16 13:05:11')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:05:13 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (66.9ms) Completed 200 OK in 129ms (Views: 91.3ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:05:13 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:05:13 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Processing by Commenteux::NotesController#create as JS Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Processing by Commenteux::NotesController#create as JS DummyModel Load (5.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400 Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (0.1ms) BEGIN SQL (0.9ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:08:40', 1, 'blah', '2015-06-16 13:08:40') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:08:40', 1, 'blah', '2015-06-16 13:08:40')  (0.1ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (16.7ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (3.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:08:52', 1, 'blah', '2015-06-16 13:08:52')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:54 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (78.3ms) Completed 200 OK in 12593ms (Views: 104.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:09:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:09:07 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:11:58 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (2.1ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:12:42', 'delivery_man', '2015-06-16 13:12:42')  (1.1ms) COMMIT Redirected to http://127.0.0.1:65152/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 43794ms (ActiveRecord: 4.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:12:42 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.1ms) Completed 200 OK in 26ms (Views: 13.5ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.3ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:13:24', 1, 'blah', '2015-06-16 13:13:24')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:13:25 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (74.4ms) Completed 200 OK in 3068ms (Views: 99.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:13:28 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:13:28 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:13:33 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.9ms) BEGIN SQL (0.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:13:37', 'delivery_man', '2015-06-16 13:13:37')  (11.1ms) COMMIT Redirected to http://127.0.0.1:65489/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 62985ms (ActiveRecord: 17.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:14:36 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.5ms) Completed 200 OK in 30ms (Views: 16.0ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.6ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:18:46', 1, 'blah', '2015-06-16 13:18:46')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:49 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (72.4ms) Completed 200 OK in 3654ms (Views: 101.6ms | ActiveRecord: 2.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:18:52 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:18:52 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:56 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (4.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.6ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:18:57', 'delivery_man', '2015-06-16 13:18:57')  (5.5ms) COMMIT Redirected to http://127.0.0.1:49216/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 1969ms (ActiveRecord: 11.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:58 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (1.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.6ms) Completed 200 OK in 22039ms (Views: 15.8ms | ActiveRecord: 5.5ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.6ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:19:45', 1, 'blah', '2015-06-16 13:19:45')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.4ms) Completed 200 OK in 74ms (Views: 49.9ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:19:47 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:19:47 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:19:47', 'delivery_man', '2015-06-16 13:19:47')  (0.3ms) COMMIT Redirected to http://127.0.0.1:49277/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.3ms) Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.9ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (4.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:20:47', 1, 'blah', '2015-06-16 13:20:47')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:20:49 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (81.8ms) Completed 200 OK in 2842ms (Views: 107.3ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:20:52 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:20:52 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:20:56 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (5.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.9ms) BEGIN SQL (1.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:20:59', 'delivery_man', '2015-06-16 13:20:59')  (5.6ms) COMMIT Redirected to http://127.0.0.1:49449/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 4828ms (ActiveRecord: 13.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:21:01 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (1.8ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (48613.2ms) Completed 200 OK in 50009ms (Views: 48619.6ms | ActiveRecord: 3.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.7ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (3.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:22:26', 1, 'blah', '2015-06-16 13:22:26')  (1.9ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:22:27 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.4ms) Completed 200 OK in 2798ms (Views: 103.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:22:30 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:22:30 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:22:38 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (121423.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.8ms) BEGIN SQL (1.8ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:24:41', 'delivery_man', '2015-06-16 13:24:41')  (0.5ms) COMMIT Redirected to http://127.0.0.1:49512/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 134804ms (ActiveRecord: 121427.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:24:53 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9979.1ms) Completed 200 OK in 30569ms (Views: 9988.9ms | ActiveRecord: 4.4ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (18.7ms) TRUNCATE TABLE `comments`;  (4.2ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:25:57', 1, 'blah', '2015-06-16 13:25:57')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:00 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (84.0ms) Completed 200 OK in 6774ms (Views: 114.0ms | ActiveRecord: 2.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:26:06 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:26:06 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:11 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (15755.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.6ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:26:31', 'delivery_man', '2015-06-16 13:26:31')  (0.8ms) COMMIT Redirected to http://127.0.0.1:49622/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 19213ms (ActiveRecord: 15758.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:31 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.9ms) Completed 200 OK in 26ms (Views: 13.4ms | ActiveRecord: 1.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.3ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:26:55', 1, 'blah', '2015-06-16 13:26:55')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:57 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (83.7ms) Completed 200 OK in 168ms (Views: 115.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:26:57 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:26:57 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:27:01 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:27:04', 'delivery_man', '2015-06-16 13:27:04')  (0.8ms) COMMIT Redirected to http://127.0.0.1:49677/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9020ms (ActiveRecord: 5.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:27:10 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (2.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.8ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (1.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5291.5ms) Completed 200 OK in 12277ms (Views: 5298.8ms | ActiveRecord: 5.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.5ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:28:46', 1, 'blah', '2015-06-16 13:28:46')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:48 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (82.4ms) Completed 200 OK in 172ms (Views: 117.8ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:28:49 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:28:49 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:54 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:28:56', 'delivery_man', '2015-06-16 13:28:56')  (0.9ms) COMMIT Redirected to http://127.0.0.1:49799/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 4407ms (ActiveRecord: 4.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:58 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (2.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.7ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4335.4ms) Completed 200 OK in 59186ms (Views: 4343.5ms | ActiveRecord: 3.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.6ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:31:43', 1, 'blah', '2015-06-16 13:31:43')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:45 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (86.8ms) Completed 200 OK in 282ms (Views: 231.1ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:31:45 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:31:45 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:50 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:31:51', 'delivery_man', '2015-06-16 13:31:51')  (0.9ms) COMMIT Redirected to http://127.0.0.1:49929/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 3131ms (ActiveRecord: 4.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:53 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (17047.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (1.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (20095.8ms) Completed 200 OK in 43972ms (Views: 20102.5ms | ActiveRecord: 17050.6ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.0ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:33:16', 1, 'blah', '2015-06-16 13:33:16')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:33:18 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (85.9ms) Completed 200 OK in 160ms (Views: 114.8ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:33:18 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:33:18 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:47:51 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (2.1ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:48:00', 'delivery_man', '2015-06-16 13:48:00')  (5.4ms) COMMIT Redirected to http://127.0.0.1:50002/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 8669ms (ActiveRecord: 8.6ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:48:00 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.4ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:48:00', 'delivery_man', '2015-06-16 13:48:00')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50002/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:48:00 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (2.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:48:00 -0400 Comment Load (4.8ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Comment Load (6.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:49:09', 1, 'blah', '2015-06-16 13:49:09') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:49:09', 1, 'blah', '2015-06-16 13:49:09')  (0.2ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (31.8ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:49:22', 1, 'blah', '2015-06-16 13:49:22')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:49:24 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4355.4ms) Completed 200 OK in 4541ms (Views: 4499.5ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:49:29 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:49:29 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.7ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:51:29', 1, 'blah', '2015-06-16 13:51:29')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:51:31 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 64ms (Views: 28.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:51:31 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:51:31 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.2ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:02:50', 1, 'blah', '2015-06-16 14:02:50')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:52 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 64ms (Views: 26.9ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:02:52 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:02:52 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.7ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:04:35', 1, 'blah', '2015-06-16 14:04:35')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:04:37 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 70ms (Views: 29.6ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:04:37 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:04:37 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.5ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 DummyModel Load (1635937.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1635941.1ms) Completed 200 OK in 1635974ms (Views: 1635947.1ms | ActiveRecord: 13.8ms) Comment Load (1.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (2.0ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 1635972ms (Views: 1.9ms | ActiveRecord: 1635957.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (0.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (4.4ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:16:18', 1, 'blah', '2015-06-16 14:16:18')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:20 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.3ms) Completed 200 OK in 246ms (Views: 206.9ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:16:21 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:16:21 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:21 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (2.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:16:21', 'delivery_man', '2015-06-16 14:16:21')  (0.4ms) COMMIT Redirected to http://127.0.0.1:51157/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 19ms (ActiveRecord: 3.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:21 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms) Completed 200 OK in 26ms (Views: 13.3ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (4.2ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:17:37', 1, 'blah', '2015-06-16 14:17:37')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (77.4ms) Completed 200 OK in 243ms (Views: 204.7ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:17:39 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:17:39 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:17:39', 'delivery_man', '2015-06-16 14:17:39')  (6.1ms) COMMIT Redirected to http://127.0.0.1:51287/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 25ms (ActiveRecord: 6.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms) Completed 200 OK in 28ms (Views: 13.2ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.4ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:18:40', 1, 'blah', '2015-06-16 14:18:40')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.1ms) Completed 200 OK in 252ms (Views: 209.9ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:18:43 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:18:43 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (2.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:18:43', 'delivery_man', '2015-06-16 14:18:43')  (4.8ms) COMMIT Redirected to http://127.0.0.1:51410/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 47ms (ActiveRecord: 7.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.0ms) Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.7ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:19:39', 1, 'blah', '2015-06-16 14:19:39')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:41 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (73.6ms) Completed 200 OK in 248ms (Views: 203.5ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:19:41 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:19:41 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:42 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (2.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:19:42', 'delivery_man', '2015-06-16 14:19:42')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51541/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 45ms (ActiveRecord: 3.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:42 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.1ms) Completed 200 OK in 29ms (Views: 14.6ms | ActiveRecord: 1.2ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:21:31', 1, 'blah', '2015-06-16 14:21:31') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:21:31', 1, 'blah', '2015-06-16 14:21:31')  (0.2ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.4ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:21:44', 1, 'blah', '2015-06-16 14:21:44')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:45 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (70.3ms) Completed 200 OK in 247ms (Views: 205.6ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:21:46 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:21:46 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:46 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:21:46', 'delivery_man', '2015-06-16 14:21:46')  (0.5ms) COMMIT Redirected to http://127.0.0.1:51654/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 23ms (ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:46 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (11.1ms) Completed 200 OK in 41ms (Views: 20.9ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (4.1ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:23:05', 1, 'blah', '2015-06-16 14:23:05')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.6ms) Completed 200 OK in 245ms (Views: 205.2ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:23:08 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:23:08 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:23:08', 'delivery_man', '2015-06-16 14:23:08')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51778/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 21ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.6ms) Completed 200 OK in 29ms (Views: 16.6ms | ActiveRecord: 0.8ms)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:06', 1, 'blah', '2015-06-16 14:28:06') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:06', 1, 'blah', '2015-06-16 14:28:06')  (0.1ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.5ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:08', 1, 'blah', '2015-06-16 14:28:08')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:08 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 138ms (Views: 117.1ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:28:08 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:08 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:11', 1, 'blah', '2015-06-16 14:28:11')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:11 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.8ms) Completed 200 OK in 50ms (Views: 44.0ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:11 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:16', 1, 'blah', '2015-06-16 14:28:16')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:16 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:28:16', 'delivery_man', '2015-06-16 14:28:16')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51883/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.9ms) Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 1.6ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:19', 1, 'blah', '2015-06-16 14:28:19')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:28:19 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:19 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:20', 1, 'blah', '2015-06-16 14:28:20')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:28:20 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:20 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (3.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:22', 1, 'blah', '2015-06-16 14:28:22')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:28:22 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:22 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:28:22 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:28:22', '2015-06-16 14:28:22')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51883/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:28:22 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `comments`;  (4.3ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:12', 1, 'blah', '2015-06-16 14:29:12')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:14 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 133ms (Views: 108.2ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:29:14 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:14 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.5ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (3.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:14', 1, 'blah', '2015-06-16 14:29:14')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:14 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:14 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:17', 1, 'blah', '2015-06-16 14:29:17')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:17 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.1ms) Completed 200 OK in 43ms (Views: 35.5ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:17 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (4.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:22', 1, 'blah', '2015-06-16 14:29:22')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.5ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:22 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:29:22', 'delivery_man', '2015-06-16 14:29:22')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52196/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:25', 1, 'blah', '2015-06-16 14:29:25')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:29:25 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:26 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:26', 1, 'blah', '2015-06-16 14:29:26')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:29:26 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:26 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:28', 1, 'blah', '2015-06-16 14:29:28')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:29:28 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (7.3ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:28 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:29:28 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:29:28', '2015-06-16 14:29:28')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52196/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:29:28 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:48', 1, 'blah', '2015-06-16 14:30:48')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:50 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 42ms (Views: 14.1ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:30:50 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:30:50 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.4ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:50', 1, 'blah', '2015-06-16 14:30:50')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:50 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:53', 1, 'blah', '2015-06-16 14:30:53')  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:53 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.4ms) Completed 200 OK in 48ms (Views: 35.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:55', 1, 'blah', '2015-06-16 14:30:55')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:55 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:55 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:30:56', 'delivery_man', '2015-06-16 14:30:56')  (11.8ms) COMMIT Redirected to http://127.0.0.1:52558/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 45ms (ActiveRecord: 13.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:56 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.6ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:59', 1, 'blah', '2015-06-16 14:30:59')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:30:59 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (4.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:59', 1, 'blah', '2015-06-16 14:30:59')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:30:59 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:31:01', 1, 'blah', '2015-06-16 14:31:01')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:31:01 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:31:01 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:31:02 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:31:02', '2015-06-16 14:31:02')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52558/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:31:02 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:25', 1, 'blah', '2015-06-16 14:33:25')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:27 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 137ms (Views: 113.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:33:27 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:27 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.3ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:27', 1, 'blah', '2015-06-16 14:33:27')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:27 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:27 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:30', 1, 'blah', '2015-06-16 14:33:30')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.8ms) Completed 200 OK in 41ms (Views: 34.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:30', 1, 'blah', '2015-06-16 14:33:30')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:33:30', 'delivery_man', '2015-06-16 14:33:30')  (0.4ms) COMMIT Redirected to http://127.0.0.1:52912/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:33', 1, 'blah', '2015-06-16 14:33:33')  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:33:34 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:34 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (54.0ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (3.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:34', 1, 'blah', '2015-06-16 14:33:34')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:33:34 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:34 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.2ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:36', 1, 'blah', '2015-06-16 14:33:36')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:33:36 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:36 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:33:36 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:33:36', '2015-06-16 14:33:36')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52912/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:33:36 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:31', 1, 'blah', '2015-06-16 14:34:31')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:33 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 38ms (Views: 16.7ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:34:33 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:34:33 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (18.9ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:33', 1, 'blah', '2015-06-16 14:34:33')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:33 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:36', 1, 'blah', '2015-06-16 14:34:36')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.0ms) Completed 200 OK in 46ms (Views: 33.2ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.5ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:36', 1, 'blah', '2015-06-16 14:34:36')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:34:36', 'delivery_man', '2015-06-16 14:34:36')  (0.3ms) COMMIT Redirected to http://127.0.0.1:53191/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.5ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:36', 1, 'blah', '2015-06-16 14:34:36')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:34:36 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (7.6ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:37', 1, 'blah', '2015-06-16 14:34:37')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:34:37 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:39', 1, 'blah', '2015-06-16 14:34:39')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:34:39 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:34:39 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:34:39', '2015-06-16 14:34:39')  (0.3ms) COMMIT Redirected to http://127.0.0.1:53191/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:34:39 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.9ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (13.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 14ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 4.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.users' doesn't exist: SHOW FULL FIELDS FROM `users`  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.8ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (1.8ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.users' doesn't exist: SHOW FULL FIELDS FROM `users`  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 16ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 15ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.users' doesn't exist: SHOW FULL FIELDS FROM `users`  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.users' doesn't exist: SHOW FULL FIELDS FROM `users`  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` Migrating to CreateUsers (20160107080846)  (12.1ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255), `name` varchar(255)) ENGINE=InnoDB  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20160107080846')  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (13.6ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (4.7ms) COMMIT Comment Load (24.0ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (20.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (1.3ms) SELECT DATABASE() as db  (1.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (168.6ms) TRUNCATE TABLE `comments`;  (9.0ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (43.0ms) TRUNCATE TABLE `comments`;  (7.6ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (41.7ms) TRUNCATE TABLE `comments`;  (9.5ms) TRUNCATE TABLE `dummy_models`;  (7.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `comments`;  (8.7ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (6.7ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:28', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:28', 'delivery_man', '2016-01-07 14:28:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:28', 1, 'blah', '2016-01-07 14:28:28') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (40.6ms) TRUNCATE TABLE `comments`;  (9.4ms) TRUNCATE TABLE `dummy_models`;  (8.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:29', 'delivery_man', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (39.1ms) TRUNCATE TABLE `comments`;  (8.6ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.1ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.5ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (40.8ms) TRUNCATE TABLE `comments`;  (7.5ms) TRUNCATE TABLE `dummy_models`;  (7.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (34.2ms) TRUNCATE TABLE `comments`;  (8.0ms) TRUNCATE TABLE `dummy_models`;  (7.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.5ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.8ms) TRUNCATE TABLE `comments`;  (6.4ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.6ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (6.4ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:29', 'delivery_man', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.8ms) TRUNCATE TABLE `comments`;  (7.2ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:29', 'delivery_man', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (6.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:29', 'delivery_man', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:29', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:29', 'delivery_man', '2016-01-07 14:28:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:29', 1, 'blah', '2016-01-07 14:28:29') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (33.8ms) TRUNCATE TABLE `dummy_models`;  (9.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (7.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:30', 'delivery_man', '2016-01-07 14:28:30', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (40.8ms) TRUNCATE TABLE `comments`;  (8.9ms) TRUNCATE TABLE `dummy_models`;  (6.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:30', 'delivery_man', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (38.5ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:30', 'delivery_man', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (39.5ms) TRUNCATE TABLE `comments`;  (9.3ms) TRUNCATE TABLE `dummy_models`;  (23.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (8.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:28:30', 'delivery_man', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:28:30', '2016-01-07 14:28:30', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:28:30', 1, 'blah', '2016-01-07 14:28:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:28:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (10.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:26', '2016-01-07 14:48:26', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:26', 'delivery_man', '2016-01-07 14:48:26', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:26', 1, 'blah', '2016-01-07 14:48:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:26' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:28 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (11.4ms) Completed 200 OK in 707ms (Views: 688.8ms | ActiveRecord: 4.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 09:48:29 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:29 -0500  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.5ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:29', '2016-01-07 14:48:29', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:29', 'delivery_man', '2016-01-07 14:48:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:29', 1, 'blah', '2016-01-07 14:48:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 09:48:29 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.4ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:29', '2016-01-07 14:48:29', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:29', 'delivery_man', '2016-01-07 14:48:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:29', 1, 'blah', '2016-01-07 14:48:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:29' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:29 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:31', '2016-01-07 14:48:31', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:31', 'delivery_man', '2016-01-07 14:48:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:31', 1, 'blah', '2016-01-07 14:48:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:31' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:31' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 1.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:31 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (67.1ms) Completed 200 OK in 73ms (Views: 71.3ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:31', '2016-01-07 14:48:31', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:31', 'delivery_man', '2016-01-07 14:48:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:31', 1, 'blah', '2016-01-07 14:48:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:31' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:31' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:33 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (545.0ms) TRUNCATE TABLE `comments`;  (10.7ms) TRUNCATE TABLE `dummy_models`;  (8.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:34', '2016-01-07 14:48:34', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:34', 'delivery_man', '2016-01-07 14:48:34', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:34', 1, 'blah', '2016-01-07 14:48:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:34' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:34' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.2ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:34 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.4ms) Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 1.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:34', '2016-01-07 14:48:34', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:34', 'delivery_man', '2016-01-07 14:48:34', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:34', 1, 'blah', '2016-01-07 14:48:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:34' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:34' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:34 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:36', '2016-01-07 14:48:36', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:36', 'delivery_man', '2016-01-07 14:48:36', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:36', 1, 'blah', '2016-01-07 14:48:36') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:36' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:36' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:36 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:36 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:48:36', 'delivery_man', '2016-01-07 14:48:36')  (5.6ms) COMMIT Redirected to http://127.0.0.1:56032/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 6.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:36 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.2ms) Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 1.5ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:36', '2016-01-07 14:48:36', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:36', 'delivery_man', '2016-01-07 14:48:36', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:36', 1, 'blah', '2016-01-07 14:48:36') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:36' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:36' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:36 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:36 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:48:36', 'delivery_man', '2016-01-07 14:48:36')  (0.3ms) COMMIT Completed 500 Internal Server Error in 4ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:38', '2016-01-07 14:48:38', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:38', 'delivery_man', '2016-01-07 14:48:38', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:38', 1, 'blah', '2016-01-07 14:48:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:38' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:38' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:38 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:38 -0500 Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 09:48:38 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.9ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.4ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.3ms) Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 2.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (7.2ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:38', '2016-01-07 14:48:38', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:38', 'delivery_man', '2016-01-07 14:48:38', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:38', 1, 'blah', '2016-01-07 14:48:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:38' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:38' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:38 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.5ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (4.1ms) Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 14:48:39' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Redirected to http://127.0.0.1:56032/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.1ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:39', '2016-01-07 14:48:39', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:39', 'delivery_man', '2016-01-07 14:48:39', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:39', 1, 'blah', '2016-01-07 14:48:39') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:39' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:39' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:39', '2016-01-07 14:48:39', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:39', 1, 'blah', '2016-01-07 14:48:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:39' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.9ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:39 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.9ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:39', '2016-01-07 14:48:39', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:39', 1, 'blah', '2016-01-07 14:48:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:39' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:39 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:39 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:41', '2016-01-07 14:48:41', 1)  (0.2ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:41', 1, 'blah', '2016-01-07 14:48:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:41' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:48:41 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:41 -0500 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:41 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:41', '2016-01-07 14:48:41', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:41', 1, 'blah', '2016-01-07 14:48:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:41' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:41 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:41 -0500 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:43', '2016-01-07 14:48:43', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:43', 1, 'blah', '2016-01-07 14:48:43') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:43' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:43', '2016-01-07 14:48:43', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:43', 1, 'blah', '2016-01-07 14:48:43') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:43' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:43 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:46', '2016-01-07 14:48:46', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:46', 1, 'blah', '2016-01-07 14:48:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 14:48:46', '2016-01-07 14:48:46')  (0.2ms) COMMIT Redirected to http://127.0.0.1:56032/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (4.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:46', '2016-01-07 14:48:46', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:46', 1, 'blah', '2016-01-07 14:48:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:48:46 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 14:48:46', '2016-01-07 14:48:46')  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (7.7ms) TRUNCATE TABLE `dummy_models`;  (6.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:48', '2016-01-07 14:48:48', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:48', 1, 'blah', '2016-01-07 14:48:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:48:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:48 -0500 Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 09:48:48 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (1.3ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (5.6ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.1ms) Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 7.8ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (7.2ms) TRUNCATE TABLE `dummy_models`;  (32.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:48', '2016-01-07 14:48:48', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:48', 1, 'blah', '2016-01-07 14:48:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:48:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.7ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 1.5ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:48:58 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (35.7ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (26.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (50.6ms) TRUNCATE TABLE `dummy_models`;  (17.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (7.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (38.6ms) TRUNCATE TABLE `comments`;  (7.7ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (7.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.4ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (6.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.8ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:48:58', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:48:58', 'delivery_man', '2016-01-07 14:48:58', 1)  (0.2ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:58', 1, 'blah', '2016-01-07 14:48:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:48:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.5ms) TRUNCATE TABLE `comments`;  (6.9ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.2ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.3ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.3ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:48:59', '2016-01-07 14:48:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:48:59', 1, 'blah', '2016-01-07 14:48:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:48:59' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.8ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (6.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:31', '2016-01-07 14:49:31', 1)  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:31', 'delivery_man', '2016-01-07 14:49:31', 1)  (11.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:31', 1, 'blah', '2016-01-07 14:49:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:31' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:31' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:32 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (9.8ms) Completed 200 OK in 68ms (Views: 51.1ms | ActiveRecord: 3.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 09:49:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:32 -0500  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.7ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:32', '2016-01-07 14:49:32', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:32', 'delivery_man', '2016-01-07 14:49:32', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:32', 1, 'blah', '2016-01-07 14:49:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:32' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:32' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 09:49:32 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (6.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:32', '2016-01-07 14:49:32', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:32', 'delivery_man', '2016-01-07 14:49:32', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:32', 1, 'blah', '2016-01-07 14:49:32') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:32' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:32' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:32 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.8ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:35', '2016-01-07 14:49:35', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:35', 'delivery_man', '2016-01-07 14:49:35', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:35', 1, 'blah', '2016-01-07 14:49:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:35' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:35' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:35 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.6ms) Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:35 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (18.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (78.5ms) Completed 200 OK in 87ms (Views: 83.5ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:35', '2016-01-07 14:49:35', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:35', 'delivery_man', '2016-01-07 14:49:35', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:35', 1, 'blah', '2016-01-07 14:49:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:35' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:35' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:35 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.8ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:37', '2016-01-07 14:49:37', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:37', 'delivery_man', '2016-01-07 14:49:37', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:37', 1, 'blah', '2016-01-07 14:49:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:37' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:37' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:37 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.0ms) Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:37', '2016-01-07 14:49:37', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:37', 'delivery_man', '2016-01-07 14:49:37', 1)  (0.5ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:37', 1, 'blah', '2016-01-07 14:49:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:37' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:37' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:37 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:39', '2016-01-07 14:49:39', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:39', 'delivery_man', '2016-01-07 14:49:39', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:39', 1, 'blah', '2016-01-07 14:49:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:39' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:39' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:39 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:39 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:49:39', 'delivery_man', '2016-01-07 14:49:39')  (0.2ms) COMMIT Redirected to http://127.0.0.1:56055/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:39 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.4ms) Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:39', '2016-01-07 14:49:39', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:39', 'delivery_man', '2016-01-07 14:49:39', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:39', 1, 'blah', '2016-01-07 14:49:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:39' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:39' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:39 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:39 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:49:39', 'delivery_man', '2016-01-07 14:49:39')  (0.2ms) COMMIT Completed 500 Internal Server Error in 4ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (17.9ms) TRUNCATE TABLE `comments`;  (7.4ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:42', '2016-01-07 14:49:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:42', 'delivery_man', '2016-01-07 14:49:42', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:42', 1, 'blah', '2016-01-07 14:49:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.4ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.4ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.5ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:42', '2016-01-07 14:49:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:42', 'delivery_man', '2016-01-07 14:49:42', 1)  (0.5ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:42', 1, 'blah', '2016-01-07 14:49:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (3.3ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.4ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.4ms) BEGIN SQL (0.3ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 1  (0.9ms) COMMIT Redirected to http://127.0.0.1:56055/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 6ms (ActiveRecord: 2.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (7.8ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:42', '2016-01-07 14:49:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:42', 'delivery_man', '2016-01-07 14:49:42', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:42', 1, 'blah', '2016-01-07 14:49:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (3.2ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.8ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:42', '2016-01-07 14:49:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:42', 1, 'blah', '2016-01-07 14:49:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:42', '2016-01-07 14:49:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:42', 1, 'blah', '2016-01-07 14:49:42') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:42 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:44', '2016-01-07 14:49:44', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:44', 1, 'blah', '2016-01-07 14:49:44') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:44' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:49:44 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:44 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:44', '2016-01-07 14:49:44', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:44', 1, 'blah', '2016-01-07 14:49:44') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:44' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:44 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:46 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:46', '2016-01-07 14:49:46', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:46', 1, 'blah', '2016-01-07 14:49:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 09:49:46 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:46 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.3ms) TRUNCATE TABLE `comments`;  (8.5ms) TRUNCATE TABLE `dummy_models`;  (8.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:47', '2016-01-07 14:49:47', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:47', 1, 'blah', '2016-01-07 14:49:47') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:47' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:47 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:47 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (83.3ms) TRUNCATE TABLE `comments`;  (49.9ms) TRUNCATE TABLE `dummy_models`;  (12.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (5.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:49', '2016-01-07 14:49:49', 1)  (5.7ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:49', 1, 'blah', '2016-01-07 14:49:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:49' WHERE `comments`.`id` = 1  (5.8ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 14:49:49', '2016-01-07 14:49:49')  (5.4ms) COMMIT Redirected to http://127.0.0.1:56055/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 6.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (5.6ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms) Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 6.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (12.3ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:49', '2016-01-07 14:49:49', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:49', 1, 'blah', '2016-01-07 14:49:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:49' WHERE `comments`.`id` = 1  (5.6ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:49 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 14:49:49', '2016-01-07 14:49:49')  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (8.3ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:51', '2016-01-07 14:49:51', 1)  (0.2ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:51', 1, 'blah', '2016-01-07 14:49:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:51' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.6ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.1ms) Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:51', '2016-01-07 14:49:51', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:51', 1, 'blah', '2016-01-07 14:49:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:51' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 1.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Started GET "/commenteux/dummy_no_role_model/1/1/edit?comment_role=&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"", "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_no_role_model/1/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 3 administrateur test"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) BEGIN SQL (0.4ms) UPDATE `comments` SET `comment` = 'note 3 administrateur test', `updated_at` = '2016-01-07 14:49:51' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Redirected to http://127.0.0.1:56055/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:51 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.9ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 3 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:49:52', '2016-01-07 14:49:52', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:52', 1, 'blah', '2016-01-07 14:49:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:49:52' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/1/edit" for 127.0.0.1 at 2016-01-07 09:49:52 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:52 -0500 Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:52 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:52', '2016-01-07 14:49:52', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:52', 'delivery_man', '2016-01-07 14:49:52', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:52', 1, 'blah', '2016-01-07 14:49:52') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:52' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:52' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:52 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:52 -0500  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:52', '2016-01-07 14:49:52', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:52', 'delivery_man', '2016-01-07 14:49:52', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:52', 1, 'blah', '2016-01-07 14:49:52') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:52' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:52' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:52 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:52 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:54', '2016-01-07 14:49:54', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:54', 'delivery_man', '2016-01-07 14:49:54', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:54', 1, 'blah', '2016-01-07 14:49:54') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:54' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:54' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:54 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:54 -0500 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:54 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (12.2ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:54', '2016-01-07 14:49:54', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:54', 'delivery_man', '2016-01-07 14:49:54', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:54', 1, 'blah', '2016-01-07 14:49:54') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:54' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:54' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:54 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:54 -0500 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (7.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:56', '2016-01-07 14:49:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:56', 'delivery_man', '2016-01-07 14:49:56', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:56', 1, 'blah', '2016-01-07 14:49:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.7ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.5ms) Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 2.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.8ms) TRUNCATE TABLE `comments`;  (7.4ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:56', '2016-01-07 14:49:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:56', 'delivery_man', '2016-01-07 14:49:56', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:56', 1, 'blah', '2016-01-07 14:49:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:56 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:58', '2016-01-07 14:49:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:58', 'delivery_man', '2016-01-07 14:49:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:58', 1, 'blah', '2016-01-07 14:49:58') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:49:58 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:58 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:58 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:49:58', 'delivery_man', '2016-01-07 14:49:58')  (0.3ms) COMMIT Redirected to http://127.0.0.1:56055/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:49:58 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (7.1ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:49:59', '2016-01-07 14:49:59', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:49:59', 'delivery_man', '2016-01-07 14:49:59', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:49:59', 1, 'blah', '2016-01-07 14:49:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:59' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:49:59' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:59 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:49:59 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:49:59 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:49:59', 'delivery_man', '2016-01-07 14:49:59')  (0.4ms) COMMIT Completed 500 Internal Server Error in 4ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (8.3ms) TRUNCATE TABLE `dummy_models`;  (7.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:01', '2016-01-07 14:50:01', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:01', 1, 'blah', '2016-01-07 14:50:01') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:01' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:50:01 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.9ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.8ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:01 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:01', '2016-01-07 14:50:01', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:01', 1, 'blah', '2016-01-07 14:50:01') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:01' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:01 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:01 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:03', '2016-01-07 14:50:03', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:03', 1, 'blah', '2016-01-07 14:50:03') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:03' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:50:03 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.9ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:03 -0500 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:50:03 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:03', '2016-01-07 14:50:03', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:03', 1, 'blah', '2016-01-07 14:50:03') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:03' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:03 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:03 -0500 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:05', '2016-01-07 14:50:05', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:05', 1, 'blah', '2016-01-07 14:50:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:05' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:05', '2016-01-07 14:50:05', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:05', 1, 'blah', '2016-01-07 14:50:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:05' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:07', '2016-01-07 14:50:07', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:07', 1, 'blah', '2016-01-07 14:50:07') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:07' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 09:50:07 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:07 -0500 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:50:07 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 14:50:07', '2016-01-07 14:50:07')  (0.3ms) COMMIT Redirected to http://127.0.0.1:56055/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 3ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:50:07 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.8ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:50:07', '2016-01-07 14:50:07', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:50:07', 1, 'blah', '2016-01-07 14:50:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:50:07' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:07 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:50:08 -0500 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:50:08 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 14:50:08', '2016-01-07 14:50:08')  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `comments`;  (8.6ms) TRUNCATE TABLE `dummy_models`;  (7.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:22', '2016-01-07 14:53:22', 1)  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:22', 'delivery_man', '2016-01-07 14:53:22', 1)  (0.6ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:22', 1, 'blah', '2016-01-07 14:53:22') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:22' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:53:23 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (6.1ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (29.8ms) Completed 200 OK in 134ms (Views: 82.6ms | ActiveRecord: 11.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 09:53:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:53:23 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.5ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:23', '2016-01-07 14:53:23', 1)  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:23', 'delivery_man', '2016-01-07 14:53:23', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:23', 1, 'blah', '2016-01-07 14:53:23') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:23' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:23' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 09:53:23 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (8.9ms) Completed 200 OK in 21ms (Views: 10.7ms | ActiveRecord: 2.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:24', '2016-01-07 14:53:24', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:24', 'delivery_man', '2016-01-07 14:53:24', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:24', 1, 'blah', '2016-01-07 14:53:24') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:24' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:24' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (8.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.6ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:26', '2016-01-07 14:53:26', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:26', 'delivery_man', '2016-01-07 14:53:26', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:26', 1, 'blah', '2016-01-07 14:53:26') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:26' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:26' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:53:26 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (11.3ms) Completed 200 OK in 27ms (Views: 12.6ms | ActiveRecord: 1.9ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:53:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (83.4ms) Completed 200 OK in 99ms (Views: 89.4ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:26', '2016-01-07 14:53:26', 1)  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:26', 'delivery_man', '2016-01-07 14:53:26', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:26', 1, 'blah', '2016-01-07 14:53:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:26' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:26' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:26 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:28 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (9.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (10.5ms) Completed 200 OK in 19ms (Views: 11.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:28', '2016-01-07 14:53:28', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:28', 'delivery_man', '2016-01-07 14:53:28', 1)  (0.3ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:28', 1, 'blah', '2016-01-07 14:53:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:28' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:53:28 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (16.5ms) Completed 200 OK in 27ms (Views: 19.8ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:53:28 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.8ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (14.5ms) Completed 200 OK in 32ms (Views: 17.8ms | ActiveRecord: 2.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:28', '2016-01-07 14:53:28', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:28', 'delivery_man', '2016-01-07 14:53:28', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:28', 1, 'blah', '2016-01-07 14:53:28') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:28' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:28' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:28 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (9.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (11.2ms) Completed 200 OK in 22ms (Views: 13.7ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:28 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (9.6ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:31', '2016-01-07 14:53:31', 1)  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:31', 'delivery_man', '2016-01-07 14:53:31', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:31', 1, 'blah', '2016-01-07 14:53:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:31' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:31' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:53:31 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (10.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (12.4ms) Completed 200 OK in 23ms (Views: 14.8ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:53:31 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.0ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:53:38', 'delivery_man', '2016-01-07 14:53:38')  (0.8ms) COMMIT Redirected to http://127.0.0.1:56106/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 20947ms (ActiveRecord: 2.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:53:52 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (9.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.5ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (24.8ms) Completed 200 OK in 42ms (Views: 19.6ms | ActiveRecord: 11.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (9.0ms) TRUNCATE TABLE `dummy_models`;  (6.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:52', '2016-01-07 14:53:52', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:52', 'delivery_man', '2016-01-07 14:53:52', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:52', 1, 'blah', '2016-01-07 14:53:52') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:52' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:52' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:52 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (12.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (13.6ms) Completed 200 OK in 23ms (Views: 15.9ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:53:52 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.5ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:53:57', 'delivery_man', '2016-01-07 14:53:57')  (7.8ms) COMMIT Completed 500 Internal Server Error in 5447ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `comments`;  (7.4ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:53:57', '2016-01-07 14:53:57', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:53:57', 'delivery_man', '2016-01-07 14:53:57', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:53:57', 1, 'blah', '2016-01-07 14:53:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:57' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:53:57' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:53:57 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (9.6ms) Completed 200 OK in 23ms (Views: 10.8ms | ActiveRecord: 2.0ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 09:53:58 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.7ms) Completed 200 OK in 17ms (Views: 5.8ms | ActiveRecord: 2.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:48', '2016-01-07 14:56:48', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:48', 'delivery_man', '2016-01-07 14:56:48', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:48', 1, 'blah', '2016-01-07 14:56:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:48' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:48' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:49 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (11.6ms) Completed 200 OK in 76ms (Views: 59.0ms | ActiveRecord: 3.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 09:56:49 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:56:49 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.1ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:49', '2016-01-07 14:56:49', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:49', 'delivery_man', '2016-01-07 14:56:49', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:49', 1, 'blah', '2016-01-07 14:56:49') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:49' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:49' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 09:56:49 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.5ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:49', '2016-01-07 14:56:49', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:49', 'delivery_man', '2016-01-07 14:56:49', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:49', 1, 'blah', '2016-01-07 14:56:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:49' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:49' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:49 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:51', '2016-01-07 14:56:51', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:51', 'delivery_man', '2016-01-07 14:56:51', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:51', 1, 'blah', '2016-01-07 14:56:51') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:51' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:51' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:51 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.5ms) Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 1.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:51 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (12.5ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (68.4ms) Completed 200 OK in 75ms (Views: 72.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:51', '2016-01-07 14:56:51', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:51', 'delivery_man', '2016-01-07 14:56:51', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:51', 1, 'blah', '2016-01-07 14:56:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:51' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:51' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:51 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.7ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (10.3ms) TRUNCATE TABLE `comments`;  (7.2ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:53', '2016-01-07 14:56:53', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:53', 'delivery_man', '2016-01-07 14:56:53', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:53', 1, 'blah', '2016-01-07 14:56:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:53' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:53' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.5ms) Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:53 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.6ms) Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 2.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:53', '2016-01-07 14:56:53', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:53', 'delivery_man', '2016-01-07 14:56:53', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:53', 1, 'blah', '2016-01-07 14:56:53') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:53' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:53' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:53 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:56', '2016-01-07 14:56:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:56', 'delivery_man', '2016-01-07 14:56:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:56', 1, 'blah', '2016-01-07 14:56:56') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:56' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:56' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:56 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:56 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:56:56', 'delivery_man', '2016-01-07 14:56:56')  (1.2ms) COMMIT Redirected to http://127.0.0.1:56141/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:56 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.4ms) Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 1.5ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:56', '2016-01-07 14:56:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:56', 'delivery_man', '2016-01-07 14:56:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:56', 1, 'blah', '2016-01-07 14:56:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:56' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:56' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:56 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:56 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:56:56', 'delivery_man', '2016-01-07 14:56:56')  (0.5ms) COMMIT Completed 500 Internal Server Error in 5ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `comments`;  (8.4ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:58', '2016-01-07 14:56:58', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:58', 'delivery_man', '2016-01-07 14:56:58', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:58', 1, 'blah', '2016-01-07 14:56:58') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (8.2ms) Completed 200 OK in 13ms (Views: 8.3ms | ActiveRecord: 1.5ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.5ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:58', '2016-01-07 14:56:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:58', 'delivery_man', '2016-01-07 14:56:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:58', 1, 'blah', '2016-01-07 14:56:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.0ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (3.4ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.6ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Redirected to http://127.0.0.1:56141/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.0ms) Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 1.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:56:58', '2016-01-07 14:56:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:56:58', 'delivery_man', '2016-01-07 14:56:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:58', 1, 'blah', '2016-01-07 14:56:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 1  (1.2ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (3.1ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 1.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:56:58', '2016-01-07 14:56:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:58', 1, 'blah', '2016-01-07 14:56:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:56:58', '2016-01-07 14:56:58', 1)  (0.2ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:56:58', 1, 'blah', '2016-01-07 14:56:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:56:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:56:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:57:01', '2016-01-07 14:57:01', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:57:01', 1, 'blah', '2016-01-07 14:57:01') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:57:01' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 09:57:01 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 09:57:01 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (9.0ms) TRUNCATE TABLE `dummy_models`;  (7.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 14:57:01', '2016-01-07 14:57:01', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:57:01', 1, 'blah', '2016-01-07 14:57:01') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 14:57:01' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:57:01 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (10.2ms) TRUNCATE TABLE `comments`;  (6.8ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 14:59:06', '2016-01-07 14:59:06', 1)  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 14:59:06', 'delivery_man', '2016-01-07 14:59:06', 1)  (0.4ms) COMMIT Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 14:59:06', 1, 'blah', '2016-01-07 14:59:06') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:59:06' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 14:59:06' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:59:07 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (25.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (87.5ms) Completed 200 OK in 213ms (Views: 149.9ms | ActiveRecord: 26.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 09:59:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 09:59:07 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 09:59:07 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.5ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 14:59:18', 'delivery_man', '2016-01-07 14:59:18')  (0.9ms) COMMIT Completed 500 Internal Server Error in 186136ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.9ms) TRUNCATE TABLE `comments`;  (7.9ms) TRUNCATE TABLE `dummy_models`;  (6.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:04:23', '2016-01-07 15:04:23', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:04:23', 'delivery_man', '2016-01-07 15:04:23', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:04:23', 1, 'blah', '2016-01-07 15:04:23') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:04:23' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:04:23' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:04:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (67.2ms) Completed 200 OK in 127ms (Views: 113.2ms | ActiveRecord: 3.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:04:24 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:04:24 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:04:24 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:04:24', 'delivery_man', '2016-01-07 15:04:24')  (0.3ms) COMMIT Completed 500 Internal Server Error in 5ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.6ms) TRUNCATE TABLE `comments`;  (7.5ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:04:54', '2016-01-07 15:04:54', 1)  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:04:54', 'delivery_man', '2016-01-07 15:04:54', 1)  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:04:54', 1, 'blah', '2016-01-07 15:04:54') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:04:54' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:04:54' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:04:55 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (25.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (83.5ms) Completed 200 OK in 205ms (Views: 147.8ms | ActiveRecord: 18.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:04:55 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:04:55 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:04:55 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.4ms) BEGIN SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:05:02', 'delivery_man', '2016-01-07 15:05:02')  (0.9ms) COMMIT Completed 500 Internal Server Error in 307149ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.5ms) TRUNCATE TABLE `comments`;  (7.1ms) TRUNCATE TABLE `dummy_models`;  (6.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.6ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:10:58', '2016-01-07 15:10:58', 1)  (0.5ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:10:58', 'delivery_man', '2016-01-07 15:10:58', 1)  (0.5ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:10:58', 1, 'blah', '2016-01-07 15:10:58') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:10:58' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:10:58' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:10:59 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.5ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (81.4ms) Completed 200 OK in 179ms (Views: 138.3ms | ActiveRecord: 2.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:10:59 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:10:59 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:10:59 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:10:59', 'delivery_man', '2016-01-07 15:10:59')  (0.5ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 20741ms (Views: 3.4ms | ActiveRecord: 2.8ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (12.9ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:14:40', '2016-01-07 15:14:40', 1)  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:14:40', 'delivery_man', '2016-01-07 15:14:40', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:14:40', 1, 'blah', '2016-01-07 15:14:40') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:14:40' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:14:40' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:14:41 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (66.6ms) Completed 200 OK in 129ms (Views: 113.4ms | ActiveRecord: 3.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:14:41 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:14:41 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:14:41 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.4ms) BEGIN  (1.9ms) SELECT @@FOREIGN_KEY_CHECKS SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:14:41', 'delivery_man', '2016-01-07 15:14:41')  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) COMMIT  (0.2ms) SELECT DATABASE() as db Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (1.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test' Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.9ms)  (7.8ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:17:29', '2016-01-07 15:17:29', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:17:29', 'delivery_man', '2016-01-07 15:17:29', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:17:29', 1, 'blah', '2016-01-07 15:17:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:17:29' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:17:29' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:17:30 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (69.9ms) Completed 200 OK in 141ms (Views: 115.3ms | ActiveRecord: 3.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:17:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:17:30 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:17:31 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:17:31', 'delivery_man', '2016-01-07 15:17:31')  (0.7ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 2.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.4ms) TRUNCATE TABLE `comments`;  (7.1ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:19:19', '2016-01-07 15:19:19', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:19:19', 'delivery_man', '2016-01-07 15:19:19', 1)  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:19:19', 1, 'blah', '2016-01-07 15:19:19') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:19:19' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:19:19' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:19:19 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (80.5ms) Completed 200 OK in 178ms (Views: 137.0ms | ActiveRecord: 3.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:19:20 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:19:20 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:19:20 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:19:20', 'delivery_man', '2016-01-07 15:19:20')  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 36ms (Views: 4.9ms | ActiveRecord: 2.2ms)  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:19:38', '2016-01-07 15:19:38', 2)  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:19:38', 'delivery_man', '2016-01-07 15:19:38', 2)  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 2 SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 3  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (1.7ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:19:39', 1, 'blah', '2016-01-07 15:19:39') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:19:39', 1, 'blah', '2016-01-07 15:19:39')  (0.2ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.2ms) TRUNCATE TABLE `comments`;  (13.1ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:19:50', '2016-01-07 15:19:50', 1)  (0.8ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:19:50', 'delivery_man', '2016-01-07 15:19:50', 1)  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:19:51', 1, 'blah', '2016-01-07 15:19:51') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:19:51' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:19:51' WHERE `comments`.`id` = 1  (2.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:19:51 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (24.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (87.5ms) Completed 200 OK in 201ms (Views: 143.6ms | ActiveRecord: 18.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:19:52 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:19:52 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:22:05 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.7ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:22:05', 'delivery_man', '2016-01-07 15:22:05')  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (1.1ms) COMMIT  (4.2ms) SET FOREIGN_KEY_CHECKS = 0 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.3ms) SELECT DATABASE() as db Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 27ms (Views: 3.0ms | ActiveRecord: 4.0ms)  (6.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.4ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:22:25', '2016-01-07 15:22:25', 1)  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:22:25', 'delivery_man', '2016-01-07 15:22:25', 1)  (0.5ms) COMMIT Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:22:25', 1, 'blah', '2016-01-07 15:22:25') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:22:25' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:22:25' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:22:25 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (27.5ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (89.4ms) Completed 200 OK in 187ms (Views: 145.8ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:22:26 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:22:26 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:22:30 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.5ms) BEGIN SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:22:30', 'delivery_man', '2016-01-07 15:22:30')  (6466.4ms) COMMIT Comment Load (2.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 13749ms (Views: 3.3ms | ActiveRecord: 13716.1ms)  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:25:27', '2016-01-07 15:25:27', 2)  (0.8ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:25:27', 'delivery_man', '2016-01-07 15:25:27', 2)  (0.5ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 2 SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 3  (0.6ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:25:27', 1, 'blah', '2016-01-07 15:25:27') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:25:27', 1, 'blah', '2016-01-07 15:25:27')  (0.2ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.3ms) TRUNCATE TABLE `comments`;  (19.0ms) TRUNCATE TABLE `dummy_models`;  (19.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (8.2ms) TRUNCATE TABLE `users`;  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:25:39', '2016-01-07 15:25:39', 1)  (0.9ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:25:39', 'delivery_man', '2016-01-07 15:25:39', 1)  (0.6ms) COMMIT Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:25:39', 1, 'blah', '2016-01-07 15:25:39') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:25:39' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:25:39' WHERE `comments`.`id` = 1  (1.6ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:25:39 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (86.0ms) Completed 200 OK in 196ms (Views: 146.2ms | ActiveRecord: 3.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:25:40 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:25:40 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:25:40 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.7ms) BEGIN SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:25:40', 'delivery_man', '2016-01-07 15:25:40')  (31527.0ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 31564ms (Views: 3.8ms | ActiveRecord: 31530.0ms)  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:27:09', '2016-01-07 15:27:09', 2)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:27:09', 'delivery_man', '2016-01-07 15:27:09', 2)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 2 SQL (0.1ms) DELETE FROM `comments` WHERE `comments`.`id` = 3  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:27:09', 1, 'blah', '2016-01-07 15:27:09') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:27:09', 1, 'blah', '2016-01-07 15:27:09')  (0.1ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.9ms) TRUNCATE TABLE `comments`;  (33.4ms) TRUNCATE TABLE `dummy_models`;  (39.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (7.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:27:22', '2016-01-07 15:27:22', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:27:22', 'delivery_man', '2016-01-07 15:27:22', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:27:22', 1, 'blah', '2016-01-07 15:27:22') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:27:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:27:22' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:27:23 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (14.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.8ms) Completed 200 OK in 155ms (Views: 119.6ms | ActiveRecord: 24.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:27:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:27:23 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:27:23 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (2.0ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:27:23', 'delivery_man', '2016-01-07 15:27:23')  (0.4ms) COMMIT Completed in 6ms  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:27:55', '2016-01-07 15:27:55', 2)  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:27:55', 'delivery_man', '2016-01-07 15:27:55', 2)  (0.6ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 2 SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 3  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:27:55', 1, 'blah', '2016-01-07 15:27:55') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:27:55', 1, 'blah', '2016-01-07 15:27:55')  (0.2ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (51.4ms) TRUNCATE TABLE `comments`;  (6.9ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:28:07', '2016-01-07 15:28:07', 1)  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:28:07', 'delivery_man', '2016-01-07 15:28:07', 1)  (0.5ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:28:07', 1, 'blah', '2016-01-07 15:28:07') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:28:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:28:07' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:28:08 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (85.1ms) Completed 200 OK in 182ms (Views: 142.4ms | ActiveRecord: 3.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:28:08 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:28:08 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:28:08 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.4ms) BEGIN SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:28:14', 'delivery_man', '2016-01-07 15:28:14')  (0.7ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 95020ms (Views: 3.1ms | ActiveRecord: 3.4ms)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:31:05', '2016-01-07 15:31:05', 2)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:31:05', 'delivery_man', '2016-01-07 15:31:05', 2)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.7ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 2 SQL (0.1ms) DELETE FROM `comments` WHERE `comments`.`id` = 3  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:31:05', 1, 'blah', '2016-01-07 15:31:05') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:31:05', 1, 'blah', '2016-01-07 15:31:05')  (0.1ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.4ms) TRUNCATE TABLE `comments`;  (7.2ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (11.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:31:14', '2016-01-07 15:31:14', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:31:14', 'delivery_man', '2016-01-07 15:31:14', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:31:14', 1, 'blah', '2016-01-07 15:31:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:31:14' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:31:14' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:31:15 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (14.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (68.5ms) Completed 200 OK in 144ms (Views: 112.9ms | ActiveRecord: 19.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:31:15 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:31:15 -0500 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:31:15 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:31:15', 'delivery_man', '2016-01-07 15:31:15')  (5.5ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 6.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (8.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (70.7ms) TRUNCATE TABLE `comments`;  (8.1ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:32:13', '2016-01-07 15:32:13', 1)  (0.6ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:32:13', 'delivery_man', '2016-01-07 15:32:13', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:32:13', 1, 'blah', '2016-01-07 15:32:13') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:32:13' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:32:13' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:32:14 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (25.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (85.5ms) Completed 200 OK in 186ms (Views: 142.8ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:32:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:32:14 -0500 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:32:14 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.3ms) BEGIN SQL (0.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:33:01', 'delivery_man', '2016-01-07 15:33:01')  (0.9ms) COMMIT Completed 200 OK in 54625ms (Views: 3.5ms | ActiveRecord: 3.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.6ms) TRUNCATE TABLE `comments`;  (8.4ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:33:27', '2016-01-07 15:33:27', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:33:27', 'delivery_man', '2016-01-07 15:33:27', 1)  (0.3ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:33:27', 1, 'blah', '2016-01-07 15:33:27') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:33:27' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:33:27' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:33:28 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (84.2ms) Completed 200 OK in 189ms (Views: 143.7ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:33:28 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:33:28 -0500 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` ORDER BY created_at ASC Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:34:30 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Comment Load (0.3ms) SELECT `comments`.* FROM `comments` ORDER BY created_at ASC DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:34:35', 'delivery_man', '2016-01-07 15:34:35')  (5.7ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 4486ms (Views: 2.9ms | ActiveRecord: 8.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (12.9ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:35:11', '2016-01-07 15:35:11', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:35:11', 'delivery_man', '2016-01-07 15:35:11', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:35:11', 1, 'blah', '2016-01-07 15:35:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:35:11' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:35:11' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:35:12 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (68.8ms) Completed 200 OK in 134ms (Views: 112.6ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:35:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:35:12 -0500 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:35:12 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:35:12', 'delivery_man', '2016-01-07 15:35:12')  (10.8ms) COMMIT Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 11.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (8.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.1ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:35:35', '2016-01-07 15:35:35', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:35:35', 'delivery_man', '2016-01-07 15:35:35', 1)  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:35:35', 1, 'blah', '2016-01-07 15:35:35') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:35:35' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:35:35' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:35:36 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (24.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (89.5ms) Completed 200 OK in 186ms (Views: 147.2ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:35:36 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:35:36 -0500 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:35:52 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.8ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:36:03', 'delivery_man', '2016-01-07 15:36:03')  (0.9ms) COMMIT Completed 200 OK in 18002ms (Views: 1.2ms | ActiveRecord: 2.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.8ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:47', '2016-01-07 15:36:47', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:47', 'delivery_man', '2016-01-07 15:36:47', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:47', 1, 'blah', '2016-01-07 15:36:47') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:47' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:47' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (6.1ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (23.4ms) Completed 200 OK in 95ms (Views: 67.8ms | ActiveRecord: 15.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:36:48 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:36:48 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.4ms) TRUNCATE TABLE `comments`;  (8.2ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:48', '2016-01-07 15:36:48', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:48', 'delivery_man', '2016-01-07 15:36:48', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:48', 1, 'blah', '2016-01-07 15:36:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:48' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 10:36:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:48', '2016-01-07 15:36:48', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:48', 'delivery_man', '2016-01-07 15:36:48', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:48', 1, 'blah', '2016-01-07 15:36:48') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:48' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:48' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.8ms) TRUNCATE TABLE `comments`;  (6.9ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:50', '2016-01-07 15:36:50', 1)  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:50', 'delivery_man', '2016-01-07 15:36:50', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:50', 1, 'blah', '2016-01-07 15:36:50') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:50' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:50' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:50 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:50 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (12.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (66.6ms) Completed 200 OK in 76ms (Views: 71.5ms | ActiveRecord: 2.7ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (10.1ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:50', '2016-01-07 15:36:50', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:50', 'delivery_man', '2016-01-07 15:36:50', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:50', 1, 'blah', '2016-01-07 15:36:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:50' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:50' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:50 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:52 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:52', '2016-01-07 15:36:52', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:52', 'delivery_man', '2016-01-07 15:36:52', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:52', 1, 'blah', '2016-01-07 15:36:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:52' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:52' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:52 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:52 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.5ms) Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 2.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:53', '2016-01-07 15:36:53', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:53', 'delivery_man', '2016-01-07 15:36:53', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:53', 1, 'blah', '2016-01-07 15:36:53') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:53' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:53' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:53 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (10.0ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (5.7ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:55', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:55', 1, 'blah', '2016-01-07 15:36:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57018/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.1ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (9.0ms) TRUNCATE TABLE `dummy_models`;  (8.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:55', '2016-01-07 15:36:55', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:55', 1, 'blah', '2016-01-07 15:36:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55')  (0.3ms) COMMIT Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.4ms) TRUNCATE TABLE `comments`;  (9.0ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:55', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:55', 1, 'blah', '2016-01-07 15:36:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.3ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.7ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.4ms) Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `comments`;  (8.5ms) TRUNCATE TABLE `dummy_models`;  (7.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:55', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:55', 1, 'blah', '2016-01-07 15:36:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Redirected to http://127.0.0.1:57018/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:36:55', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:36:55', 'delivery_man', '2016-01-07 15:36:55', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:36:55', 1, 'blah', '2016-01-07 15:36:55') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:36:55' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:36:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.3ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:37', '2016-01-07 15:47:37', 1)  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:37', 'delivery_man', '2016-01-07 15:47:37', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:37', 1, 'blah', '2016-01-07 15:47:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:37' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:37' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:38 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (11.0ms) Completed 200 OK in 92ms (Views: 58.9ms | ActiveRecord: 20.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:47:38 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:47:38 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.1ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:38', '2016-01-07 15:47:38', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:38', 'delivery_man', '2016-01-07 15:47:38', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:38', 1, 'blah', '2016-01-07 15:47:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:38' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:38' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 10:47:38 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.8ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:38', '2016-01-07 15:47:38', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:38', 'delivery_man', '2016-01-07 15:47:38', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:38', 1, 'blah', '2016-01-07 15:47:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:38' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:38' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:38 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:40', '2016-01-07 15:47:40', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:40', 'delivery_man', '2016-01-07 15:47:40', 1)  (0.3ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:40', 1, 'blah', '2016-01-07 15:47:40') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:40' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:40' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:40 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.4ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 1.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:40 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (69.7ms) Completed 200 OK in 76ms (Views: 73.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:41', '2016-01-07 15:47:41', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:41', 'delivery_man', '2016-01-07 15:47:41', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:41', 1, 'blah', '2016-01-07 15:47:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:41' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:41' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:41 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:43 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:43', '2016-01-07 15:47:43', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:43', 'delivery_man', '2016-01-07 15:47:43', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:43', 1, 'blah', '2016-01-07 15:47:43') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:43' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:43' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:43 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.5ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.7ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:43 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.4ms) Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 1.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:43', '2016-01-07 15:47:43', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:43', 'delivery_man', '2016-01-07 15:47:43', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:43', 1, 'blah', '2016-01-07 15:47:43') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:43' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:43' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:43 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:43 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (8.2ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:45', '2016-01-07 15:47:45', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:45', 'delivery_man', '2016-01-07 15:47:45', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:45', 1, 'blah', '2016-01-07 15:47:45') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:47:45', 'delivery_man', '2016-01-07 15:47:45')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57254/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.4ms) Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 1.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:45', '2016-01-07 15:47:45', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:45', 'delivery_man', '2016-01-07 15:47:45', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:45', 1, 'blah', '2016-01-07 15:47:45') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:47:45', 'delivery_man', '2016-01-07 15:47:45')  (1.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 2.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:45', '2016-01-07 15:47:45', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (4.0ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:45', 'delivery_man', '2016-01-07 15:47:45', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:45', 1, 'blah', '2016-01-07 15:47:45') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.3ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.6ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.4ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.4ms) Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:45', '2016-01-07 15:47:45', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:45', 'delivery_man', '2016-01-07 15:47:45', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:45', 1, 'blah', '2016-01-07 15:47:45') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.5ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (2.7ms) Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:45 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 15:47:45' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Redirected to http://127.0.0.1:57254/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:46 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:46', '2016-01-07 15:47:46', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:46', 'delivery_man', '2016-01-07 15:47:46', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:46', 1, 'blah', '2016-01-07 15:47:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:46' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:46 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:46 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.9ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 2.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:46', '2016-01-07 15:47:46', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:46', 1, 'blah', '2016-01-07 15:47:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:46' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:47:46 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:46', '2016-01-07 15:47:46', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:46', 1, 'blah', '2016-01-07 15:47:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:46 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:48', '2016-01-07 15:47:48', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:48', 1, 'blah', '2016-01-07 15:47:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:47:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:48 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:48', '2016-01-07 15:47:48', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:48', 1, 'blah', '2016-01-07 15:47:48') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:50 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:50', '2016-01-07 15:47:50', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:50', 1, 'blah', '2016-01-07 15:47:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:50' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:47:50 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:50 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:50', '2016-01-07 15:47:50', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:50', 1, 'blah', '2016-01-07 15:47:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:50' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:50 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:50 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:52', '2016-01-07 15:47:52', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:52', 1, 'blah', '2016-01-07 15:47:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:52' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:47:52 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:52 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:47:52', '2016-01-07 15:47:52')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57254/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:52 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 1.0ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:53', '2016-01-07 15:47:53', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:53', 1, 'blah', '2016-01-07 15:47:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:53' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:53 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:47:53', '2016-01-07 15:47:53')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `comments`;  (8.0ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:55', '2016-01-07 15:47:55', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:55', 1, 'blah', '2016-01-07 15:47:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (1.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.1ms) Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 2.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:55', '2016-01-07 15:47:55', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:55', 1, 'blah', '2016-01-07 15:47:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1/1/edit?comment_role=&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"", "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms) Started PATCH "/commenteux/dummy_no_role_model/1/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 3 administrateur test"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) UPDATE `comments` SET `comment` = 'note 3 administrateur test', `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Redirected to http://127.0.0.1:57254/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 3 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:47:55', '2016-01-07 15:47:55', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:55', 1, 'blah', '2016-01-07 15:47:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/1/edit" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.8ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:55', '2016-01-07 15:47:55', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:55', 'delivery_man', '2016-01-07 15:47:55', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:55', 1, 'blah', '2016-01-07 15:47:55') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:55', '2016-01-07 15:47:55', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:55', 'delivery_man', '2016-01-07 15:47:55', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:55', 1, 'blah', '2016-01-07 15:47:55') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:55' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:55 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:57', '2016-01-07 15:47:57', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:57', 'delivery_man', '2016-01-07 15:47:57', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:57', 1, 'blah', '2016-01-07 15:47:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:57' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:57' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:47:57 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:47:57 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.8ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:47:57', '2016-01-07 15:47:57', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:47:57', 'delivery_man', '2016-01-07 15:47:57', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:47:57', 1, 'blah', '2016-01-07 15:47:57') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:57' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:47:57' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:57 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:47:59 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (5.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (5.5ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:48:00', '2016-01-07 15:48:00', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:48:00', 'delivery_man', '2016-01-07 15:48:00', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:00', 1, 'blah', '2016-01-07 15:48:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:00' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:00' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:48:00 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:00 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 1.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:48:00', '2016-01-07 15:48:00', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:48:00', 'delivery_man', '2016-01-07 15:48:00', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:00', 1, 'blah', '2016-01-07 15:48:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:00' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:00' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:00 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:00 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:48:02', '2016-01-07 15:48:02', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:48:02', 'delivery_man', '2016-01-07 15:48:02', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:02', 1, 'blah', '2016-01-07 15:48:02') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:02' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:02' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:48:02 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:02 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.5ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:48:02', 'delivery_man', '2016-01-07 15:48:02')  (0.5ms) COMMIT Redirected to http://127.0.0.1:57254/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:02 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:48:02', '2016-01-07 15:48:02', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:48:02', 'delivery_man', '2016-01-07 15:48:02', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:02', 1, 'blah', '2016-01-07 15:48:02') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:02' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:48:02' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:02 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:02 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:48:02', 'delivery_man', '2016-01-07 15:48:02')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (30.5ms) TRUNCATE TABLE `comments`;  (9.4ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:04', '2016-01-07 15:48:04', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:04', 1, 'blah', '2016-01-07 15:48:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:04' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:48:04 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:04', '2016-01-07 15:48:04', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:04', 1, 'blah', '2016-01-07 15:48:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:04' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:04 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:06', '2016-01-07 15:48:06', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:06', 1, 'blah', '2016-01-07 15:48:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:06' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:48:06 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:06 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (12.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:06', '2016-01-07 15:48:06', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:06', 1, 'blah', '2016-01-07 15:48:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:06' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:06 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:08 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (7.6ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:09', '2016-01-07 15:48:09', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:09', 1, 'blah', '2016-01-07 15:48:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:09' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:48:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 1.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:09', '2016-01-07 15:48:09', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:09', 1, 'blah', '2016-01-07 15:48:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:09' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:11', '2016-01-07 15:48:11', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:11', 1, 'blah', '2016-01-07 15:48:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:11' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:48:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:11 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:48:11', '2016-01-07 15:48:11')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57254/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:48:11 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:48:11', '2016-01-07 15:48:11', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:48:11', 1, 'blah', '2016-01-07 15:48:11') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:48:11' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:48:11 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:48:11', '2016-01-07 15:48:11')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (8.8ms) TRUNCATE TABLE `dummy_models`;  (7.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:03', '2016-01-07 15:49:03', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:03', 'delivery_man', '2016-01-07 15:49:03', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:04', 1, 'blah', '2016-01-07 15:49:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:04' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:04' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:04 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (6.0ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (17.0ms) Completed 200 OK in 96ms (Views: 55.7ms | ActiveRecord: 27.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:49:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:49:05 -0500  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.9ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:05', '2016-01-07 15:49:05', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:05', 'delivery_man', '2016-01-07 15:49:05', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:05', 1, 'blah', '2016-01-07 15:49:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:05' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 10:49:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:05', '2016-01-07 15:49:05', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:05', 'delivery_man', '2016-01-07 15:49:05', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:05', 1, 'blah', '2016-01-07 15:49:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:05' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:07', '2016-01-07 15:49:07', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:07', 'delivery_man', '2016-01-07 15:49:07', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:07', 1, 'blah', '2016-01-07 15:49:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:07' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:07' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:07 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:07 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (11.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (65.8ms) Completed 200 OK in 72ms (Views: 70.2ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:07', '2016-01-07 15:49:07', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:07', 'delivery_man', '2016-01-07 15:49:07', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:07', 1, 'blah', '2016-01-07 15:49:07') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:07' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:07' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:07 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:09', '2016-01-07 15:49:09', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:09', 'delivery_man', '2016-01-07 15:49:09', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:09', 1, 'blah', '2016-01-07 15:49:09') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:09' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:09' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.2ms) Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:09', '2016-01-07 15:49:09', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:09', 'delivery_man', '2016-01-07 15:49:09', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:09', 1, 'blah', '2016-01-07 15:49:09') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:09' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:09' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.4ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (4.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:11', '2016-01-07 15:49:11', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:11', 'delivery_man', '2016-01-07 15:49:11', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:11', 1, 'blah', '2016-01-07 15:49:11') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:11' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:11' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:49:12', 'delivery_man', '2016-01-07 15:49:12')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57266/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.1ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:12', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:12', 'delivery_man', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:12', 1, 'blah', '2016-01-07 15:49:12') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:49:12', 'delivery_man', '2016-01-07 15:49:12')  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:12', '2016-01-07 15:49:12', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:12', 'delivery_man', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:12', 1, 'blah', '2016-01-07 15:49:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.0ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.3ms) Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:12', '2016-01-07 15:49:12', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:12', 'delivery_man', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:12', 1, 'blah', '2016-01-07 15:49:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (2.9ms) Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.4ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Redirected to http://127.0.0.1:57266/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.2ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:12', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:12', 'delivery_man', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:12', 1, 'blah', '2016-01-07 15:49:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.6ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:12', '2016-01-07 15:49:12', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:12', 1, 'blah', '2016-01-07 15:49:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (4.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:12', '2016-01-07 15:49:12', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:12', 1, 'blah', '2016-01-07 15:49:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:12' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:12 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:14', '2016-01-07 15:49:14', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:14', 1, 'blah', '2016-01-07 15:49:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:14' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:49:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:14 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.2ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.8ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:14', '2016-01-07 15:49:14', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:14', 1, 'blah', '2016-01-07 15:49:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:14' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:17 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:17', '2016-01-07 15:49:17', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:17', 1, 'blah', '2016-01-07 15:49:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:17' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:49:17 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:17 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:17', '2016-01-07 15:49:17', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:17', 1, 'blah', '2016-01-07 15:49:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:17' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:17 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:17 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:19', 1, 'blah', '2016-01-07 15:49:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:19' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57266/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.8ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19', 1)  (0.3ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:19', 1, 'blah', '2016-01-07 15:49:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:19' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19')  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (29.7ms) TRUNCATE TABLE `comments`;  (8.2ms) TRUNCATE TABLE `dummy_models`;  (7.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:19', 1, 'blah', '2016-01-07 15:49:19') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:19' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 1.0ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.7ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:19', 1, 'blah', '2016-01-07 15:49:19') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:19' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1/1/edit?comment_role=&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"", "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_no_role_model/1/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 3 administrateur test"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) UPDATE `comments` SET `comment` = 'note 3 administrateur test', `updated_at` = '2016-01-07 15:49:19' WHERE `comments`.`id` = 1  (0.8ms) COMMIT Redirected to http://127.0.0.1:57266/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.9ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 3 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:19', '2016-01-07 15:49:19', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:19', 1, 'blah', '2016-01-07 15:49:19') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:19' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/1/edit" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:19 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.7ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 1.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:20', '2016-01-07 15:49:20', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:20', 'delivery_man', '2016-01-07 15:49:20', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:20', 1, 'blah', '2016-01-07 15:49:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:20' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:20' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:20 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:20', '2016-01-07 15:49:20', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:20', 'delivery_man', '2016-01-07 15:49:20', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:20', 1, 'blah', '2016-01-07 15:49:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:20' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:20' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:20 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (6.6ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:22', '2016-01-07 15:49:22', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:22', 'delivery_man', '2016-01-07 15:49:22', 1)  (0.2ms) COMMIT Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:22', 1, 'blah', '2016-01-07 15:49:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:22' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:22 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:22', '2016-01-07 15:49:22', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:22', 'delivery_man', '2016-01-07 15:49:22', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:22', 1, 'blah', '2016-01-07 15:49:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:22' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:22' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:24', '2016-01-07 15:49:24', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:24', 'delivery_man', '2016-01-07 15:49:24', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:24', 1, 'blah', '2016-01-07 15:49:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:24' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:24' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (4.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.2ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 1.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:24', '2016-01-07 15:49:24', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:24', 'delivery_man', '2016-01-07 15:49:24', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:24', 1, 'blah', '2016-01-07 15:49:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:24' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:24' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (6.9ms) TRUNCATE TABLE `dummy_models`;  (7.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:26', '2016-01-07 15:49:26', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:26', 'delivery_man', '2016-01-07 15:49:26', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:26', 1, 'blah', '2016-01-07 15:49:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:26' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:49:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:26 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:49:26', 'delivery_man', '2016-01-07 15:49:26')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57266/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:26 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (6.7ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:49:26', '2016-01-07 15:49:26', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:49:26', 'delivery_man', '2016-01-07 15:49:26', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:26', 1, 'blah', '2016-01-07 15:49:26') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:49:26' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:26 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:49:26', 'delivery_man', '2016-01-07 15:49:26')  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (4.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:27', '2016-01-07 15:49:27', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:27', 1, 'blah', '2016-01-07 15:49:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:27' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:49:27 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:27', '2016-01-07 15:49:27', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:27', 1, 'blah', '2016-01-07 15:49:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:27' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:27 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:29', '2016-01-07 15:49:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:29', 1, 'blah', '2016-01-07 15:49:29') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:49:29 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:29 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 23ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:29', '2016-01-07 15:49:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:29', 1, 'blah', '2016-01-07 15:49:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:29 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:31 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (4.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:31', '2016-01-07 15:49:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:31', 1, 'blah', '2016-01-07 15:49:31') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:31' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:49:31 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (4.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:31', '2016-01-07 15:49:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:31', 1, 'blah', '2016-01-07 15:49:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:31' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:31 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (438.1ms) TRUNCATE TABLE `comments`;  (44.0ms) TRUNCATE TABLE `dummy_models`;  (45.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (25.0ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:34', '2016-01-07 15:49:34', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:34', 1, 'blah', '2016-01-07 15:49:34') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:34' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:49:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:34 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:49:34', '2016-01-07 15:49:34')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57266/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:49:34 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.9ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (7.3ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:49:34', '2016-01-07 15:49:34', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:49:34', 1, 'blah', '2016-01-07 15:49:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:49:34' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:49:34 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:49:34', '2016-01-07 15:49:34')  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `comments`;  (7.3ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:51:18', '2016-01-07 15:51:18', 1)  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:51:18', 'delivery_man', '2016-01-07 15:51:18', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:51:18', 1, 'blah', '2016-01-07 15:51:18') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:51:18' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:51:18' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:51:19 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (68.0ms) Completed 200 OK in 151ms (Views: 119.9ms | ActiveRecord: 20.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:51:19 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:51:19 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:51:19 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:51:19', 'delivery_man', '2016-01-07 15:51:19')  (0.8ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 2.2ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.3ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:51:36', '2016-01-07 15:51:36', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:51:36', 'delivery_man', '2016-01-07 15:51:36', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:51:36', 1, 'blah', '2016-01-07 15:51:36') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:51:36' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:51:36' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:51:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (14.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (67.9ms) Completed 200 OK in 131ms (Views: 112.4ms | ActiveRecord: 8.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:51:37 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:51:37 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:51:37 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:51:37', 'delivery_man', '2016-01-07 15:51:37')  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 1.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.7ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:51:55', '2016-01-07 15:51:55', 1)  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:51:55', 'delivery_man', '2016-01-07 15:51:55', 1)  (0.4ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:51:55', 1, 'blah', '2016-01-07 15:51:55') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:51:55' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:51:55' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:51:55 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (23.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (88.6ms) Completed 200 OK in 205ms (Views: 147.1ms | ActiveRecord: 21.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:51:56 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:51:56 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:51:56 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:51:56', 'delivery_man', '2016-01-07 15:51:56')  (0.8ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 29ms (Views: 3.1ms | ActiveRecord: 2.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (2.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.6ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:53:03', '2016-01-07 15:53:03', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:53:03', 'delivery_man', '2016-01-07 15:53:03', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:53:03', 1, 'blah', '2016-01-07 15:53:03') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:03' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:03' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:53:04 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (68.4ms) Completed 200 OK in 125ms (Views: 111.6ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:53:04 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:53:04 -0500 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:53:04 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:53:04', 'delivery_man', '2016-01-07 15:53:04')  (0.7ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.9ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (11.5ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:53:57', '2016-01-07 15:53:57', 1)  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:53:57', 'delivery_man', '2016-01-07 15:53:57', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:53:57', 1, 'blah', '2016-01-07 15:53:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:57' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:57' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:53:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (10.1ms) Completed 200 OK in 72ms (Views: 50.9ms | ActiveRecord: 9.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:53:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:53:58 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.7ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:53:58', '2016-01-07 15:53:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:53:58', 'delivery_man', '2016-01-07 15:53:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:53:58', 1, 'blah', '2016-01-07 15:53:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:58' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 10:53:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (4.8ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:53:58', '2016-01-07 15:53:58', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:53:58', 'delivery_man', '2016-01-07 15:53:58', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:53:58', 1, 'blah', '2016-01-07 15:53:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:58' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:53:58' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:53:58 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:00', '2016-01-07 15:54:00', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:00', 'delivery_man', '2016-01-07 15:54:00', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:00', 1, 'blah', '2016-01-07 15:54:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:00' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:00' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:00 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:00 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (12.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (67.7ms) Completed 200 OK in 77ms (Views: 71.9ms | ActiveRecord: 2.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:00', '2016-01-07 15:54:00', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:00', 'delivery_man', '2016-01-07 15:54:00', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:00', 1, 'blah', '2016-01-07 15:54:00') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:00' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:00' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:00 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:02 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:02', '2016-01-07 15:54:02', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:02', 'delivery_man', '2016-01-07 15:54:02', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:02', 1, 'blah', '2016-01-07 15:54:02') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:02' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:02' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:02 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:03 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.5ms) Completed 200 OK in 12ms (Views: 7.8ms | ActiveRecord: 1.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:03', '2016-01-07 15:54:03', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:03', 'delivery_man', '2016-01-07 15:54:03', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:03', 1, 'blah', '2016-01-07 15:54:03') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:03' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:03' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:03 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:03 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:05', '2016-01-07 15:54:05', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:05', 'delivery_man', '2016-01-07 15:54:05', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:05', 1, 'blah', '2016-01-07 15:54:05') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:05' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:05 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:05 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:54:05', 'delivery_man', '2016-01-07 15:54:05')  (1.4ms) COMMIT Redirected to http://127.0.0.1:57341/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 2.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:05 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.3ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 1.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:05', '2016-01-07 15:54:05', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:05', 'delivery_man', '2016-01-07 15:54:05', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:05', 1, 'blah', '2016-01-07 15:54:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:05' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:05 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:05 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:54:05', 'delivery_man', '2016-01-07 15:54:05')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:06', '2016-01-07 15:54:06', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:06', 'delivery_man', '2016-01-07 15:54:06', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:06', 1, 'blah', '2016-01-07 15:54:06') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.2ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.4ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:06', '2016-01-07 15:54:06', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:06', 'delivery_man', '2016-01-07 15:54:06', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:06', 1, 'blah', '2016-01-07 15:54:06') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.4ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 1  (0.8ms) COMMIT Redirected to http://127.0.0.1:57341/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (6.7ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:06', '2016-01-07 15:54:06', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:06', 'delivery_man', '2016-01-07 15:54:06', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:06', 1, 'blah', '2016-01-07 15:54:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.5ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.9ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 2.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (6.7ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:06', '2016-01-07 15:54:06', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:06', 1, 'blah', '2016-01-07 15:54:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:06' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:54:06 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:07', '2016-01-07 15:54:07', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:07', 1, 'blah', '2016-01-07 15:54:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:07' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:07 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:09', '2016-01-07 15:54:09', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:09', 1, 'blah', '2016-01-07 15:54:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:09' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:54:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.4ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:09', '2016-01-07 15:54:09', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:09', 1, 'blah', '2016-01-07 15:54:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:09' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:11', '2016-01-07 15:54:11', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:11', 1, 'blah', '2016-01-07 15:54:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:11' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:54:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (5.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (6.0ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:11 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (7.6ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:11', '2016-01-07 15:54:11', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:11', 1, 'blah', '2016-01-07 15:54:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:11' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:11 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:13', '2016-01-07 15:54:13', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:13', 1, 'blah', '2016-01-07 15:54:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:13' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:54:13', '2016-01-07 15:54:13')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57341/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.8ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:13', '2016-01-07 15:54:13', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:13', 1, 'blah', '2016-01-07 15:54:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:13' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:54:13', '2016-01-07 15:54:13')  (1.8ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 2.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `comments`;  (7.4ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:13', '2016-01-07 15:54:13', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:13', 1, 'blah', '2016-01-07 15:54:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:13' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 1.1ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 10:54:13 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.1ms) Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:14', '2016-01-07 15:54:14', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:14', 1, 'blah', '2016-01-07 15:54:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1/1/edit?comment_role=&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"", "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_no_role_model/1/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 3 administrateur test"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 3 administrateur test', `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 1  (5.8ms) COMMIT Redirected to http://127.0.0.1:57341/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 6.6ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 3 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:54:14', '2016-01-07 15:54:14', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:14', 1, 'blah', '2016-01-07 15:54:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/1/edit" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.0ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:14', '2016-01-07 15:54:14', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:14', 'delivery_man', '2016-01-07 15:54:14', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:14', 1, 'blah', '2016-01-07 15:54:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:14', '2016-01-07 15:54:14', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:14', 'delivery_man', '2016-01-07 15:54:14', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:14', 1, 'blah', '2016-01-07 15:54:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:14' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (6.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:16', '2016-01-07 15:54:16', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:16', 'delivery_man', '2016-01-07 15:54:16', 1)  (0.5ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:16', 1, 'blah', '2016-01-07 15:54:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:16' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:16' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:16 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:16 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.9ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:16', '2016-01-07 15:54:16', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:16', 'delivery_man', '2016-01-07 15:54:16', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:16', 1, 'blah', '2016-01-07 15:54:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:16' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:16' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:16 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:18', '2016-01-07 15:54:18', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:18', 'delivery_man', '2016-01-07 15:54:18', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:18', 1, 'blah', '2016-01-07 15:54:18') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:18' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:18' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:18 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:18', '2016-01-07 15:54:18', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:18', 'delivery_man', '2016-01-07 15:54:18', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:18', 1, 'blah', '2016-01-07 15:54:18') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:18' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:18' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:18 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.7ms) TRUNCATE TABLE `comments`;  (7.3ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:21', '2016-01-07 15:54:21', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:21', 'delivery_man', '2016-01-07 15:54:21', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:21', 1, 'blah', '2016-01-07 15:54:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:21' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:21' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:54:21 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:21 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:54:21', 'delivery_man', '2016-01-07 15:54:21')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57341/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:54:21 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (7.9ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:54:21', '2016-01-07 15:54:21', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:54:21', 'delivery_man', '2016-01-07 15:54:21', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:54:21', 1, 'blah', '2016-01-07 15:54:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:21' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:54:21' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:21 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:54:21 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (2.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:54:21', 'delivery_man', '2016-01-07 15:54:21')  (0.5ms) COMMIT Completed in 6ms  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:45', '2016-01-07 15:55:45', 2)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:45', 'delivery_man', '2016-01-07 15:55:45', 2)  (0.5ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 2 SQL (0.1ms) DELETE FROM `comments` WHERE `comments`.`id` = 3  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:45', 1, 'blah', '2016-01-07 15:55:45') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:45', 1, 'blah', '2016-01-07 15:55:45')  (0.1ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (23.6ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (12.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:46', '2016-01-07 15:55:46', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:46', 1, 'blah', '2016-01-07 15:55:46') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:46' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:55:46 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (9.2ms) Completed 200 OK in 59ms (Views: 52.5ms | ActiveRecord: 3.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:55:46 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:55:46 -0500  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:46', '2016-01-07 15:55:46', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:46', 1, 'blah', '2016-01-07 15:55:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:46 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.5ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:48', '2016-01-07 15:55:48', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:48', 1, 'blah', '2016-01-07 15:55:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:48' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:55:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:55:48 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (15.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (70.6ms) Completed 200 OK in 76ms (Views: 74.6ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:48', '2016-01-07 15:55:48', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:48', 1, 'blah', '2016-01-07 15:55:48') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:48 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:50 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (7.1ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:51', '2016-01-07 15:55:51', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:51', 1, 'blah', '2016-01-07 15:55:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:51' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:55:51 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:55:51 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.7ms) Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 1.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:51', '2016-01-07 15:55:51', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:51', 1, 'blah', '2016-01-07 15:55:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:51' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:51 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:51 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:53', '2016-01-07 15:55:53', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:53', 1, 'blah', '2016-01-07 15:55:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:53' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:55:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:55:53 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:55:53', '2016-01-07 15:55:53')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57356/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:55:53 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.7ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:53', '2016-01-07 15:55:53', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:53', 1, 'blah', '2016-01-07 15:55:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:53' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:53 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:55:53 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:55:53', '2016-01-07 15:55:53')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.5ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:54', '2016-01-07 15:55:54', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:54', 1, 'blah', '2016-01-07 15:55:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:54' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:55:54 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 1.0ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 10:55:54 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.4ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:54', '2016-01-07 15:55:54', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:54', 1, 'blah', '2016-01-07 15:55:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:54' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:55:56 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 1.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (11.0ms) TRUNCATE TABLE `comments`;  (6.7ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (40.3ms) TRUNCATE TABLE `comments`;  (45.3ms) TRUNCATE TABLE `dummy_models`;  (43.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (7.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:55:56', 'delivery_man', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (7.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.6ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.6ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.4ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.2ms) COMMIT Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.5ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (7.3ms) TRUNCATE TABLE `dummy_models`;  (6.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:55:56', '2016-01-07 15:55:56', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:55:56', 1, 'blah', '2016-01-07 15:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:55:56' WHERE `comments`.`id` = 1  (0.5ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (6.6ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:21', '2016-01-07 15:56:21', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:21', 'delivery_man', '2016-01-07 15:56:21', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:21', 1, 'blah', '2016-01-07 15:56:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:21' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:21' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (9.8ms) Completed 200 OK in 94ms (Views: 51.3ms | ActiveRecord: 30.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:56:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:56:22 -0500  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (7.4ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.9ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:22', '2016-01-07 15:56:22', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:22', 'delivery_man', '2016-01-07 15:56:22', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:22', 1, 'blah', '2016-01-07 15:56:22') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:22' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:22' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 10:56:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (8.8ms) Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:22', '2016-01-07 15:56:22', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:22', 'delivery_man', '2016-01-07 15:56:22', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:22', 1, 'blah', '2016-01-07 15:56:22') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:22' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:22' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:24', '2016-01-07 15:56:24', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:24', 'delivery_man', '2016-01-07 15:56:24', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:24', 1, 'blah', '2016-01-07 15:56:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:24' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.5ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (68.9ms) Completed 200 OK in 77ms (Views: 72.5ms | ActiveRecord: 2.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.6ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:24', '2016-01-07 15:56:24', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:24', 'delivery_man', '2016-01-07 15:56:24', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:24', 1, 'blah', '2016-01-07 15:56:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:24' WHERE `comments`.`id` = 2 SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:24' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:26', '2016-01-07 15:56:26', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:26', 'delivery_man', '2016-01-07 15:56:26', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:26', 1, 'blah', '2016-01-07 15:56:26') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:26' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.0ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:26 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (29.3ms) Completed 200 OK in 37ms (Views: 31.8ms | ActiveRecord: 2.1ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:27', '2016-01-07 15:56:27', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:27', 'delivery_man', '2016-01-07 15:56:27', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:27', 1, 'blah', '2016-01-07 15:56:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:27' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:27' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:27 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:27 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.3ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:29', '2016-01-07 15:56:29', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:29', 'delivery_man', '2016-01-07 15:56:29', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:29', 1, 'blah', '2016-01-07 15:56:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:29' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:29' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:29 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:29 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:56:29', 'delivery_man', '2016-01-07 15:56:29')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57367/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:29 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.6ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 1.3ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (6.7ms) TRUNCATE TABLE `dummy_models`;  (7.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:29', '2016-01-07 15:56:29', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:29', 'delivery_man', '2016-01-07 15:56:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:29', 1, 'blah', '2016-01-07 15:56:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:29 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:29 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:56:29', 'delivery_man', '2016-01-07 15:56:29')  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:30', '2016-01-07 15:56:30', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:30', 'delivery_man', '2016-01-07 15:56:30', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:30', 1, 'blah', '2016-01-07 15:56:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.0ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 1.7ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.3ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:30', '2016-01-07 15:56:30', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:30', 'delivery_man', '2016-01-07 15:56:30', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:30', 1, 'blah', '2016-01-07 15:56:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.3ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Redirected to http://127.0.0.1:57367/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:30', '2016-01-07 15:56:30', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:30', 'delivery_man', '2016-01-07 15:56:30', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:30', 1, 'blah', '2016-01-07 15:56:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:30 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:30', '2016-01-07 15:56:30', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:30', 1, 'blah', '2016-01-07 15:56:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:56:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (7.9ms) TRUNCATE TABLE `dummy_models`;  (7.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:31', '2016-01-07 15:56:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:31', 1, 'blah', '2016-01-07 15:56:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:31' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.0ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:33', '2016-01-07 15:56:33', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:33', 1, 'blah', '2016-01-07 15:56:33') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:33' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:56:33 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:33 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:33', '2016-01-07 15:56:33', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:33', 1, 'blah', '2016-01-07 15:56:33') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:33' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:33 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:35 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.5ms) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:35', '2016-01-07 15:56:35', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:35', 1, 'blah', '2016-01-07 15:56:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:35' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:56:35 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:35 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 1.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:35', '2016-01-07 15:56:35', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:35', 1, 'blah', '2016-01-07 15:56:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:35' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:35 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:35 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:37', '2016-01-07 15:56:37', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:37', 1, 'blah', '2016-01-07 15:56:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:37' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:56:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:37 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:56:37', '2016-01-07 15:56:37')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57367/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:56:37 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:37', '2016-01-07 15:56:37', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:37', 1, 'blah', '2016-01-07 15:56:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:37' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:56:37 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:56:37', '2016-01-07 15:56:37')  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:38', '2016-01-07 15:56:38', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:38', 1, 'blah', '2016-01-07 15:56:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:38' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:56:38 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.0ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 10:56:38 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.8ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.4ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.1ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (11.1ms) TRUNCATE TABLE `comments`;  (8.0ms) TRUNCATE TABLE `dummy_models`;  (6.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:39', '2016-01-07 15:56:39', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:39', 1, 'blah', '2016-01-07 15:56:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:39' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:56:42 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (4.9ms) COMMIT User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (12.8ms) Completed 200 OK in 17ms (Views: 8.3ms | ActiveRecord: 6.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (10.4ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.5ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (37.2ms) TRUNCATE TABLE `dummy_models`;  (21.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (6.8ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.5ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (7.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (7.1ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (44.9ms) TRUNCATE TABLE `comments`;  (43.7ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.4ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.0ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (4.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:56:42', 'delivery_man', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (4.9ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (7.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.1ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (5.9ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (3.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.2ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (4.7ms) TRUNCATE TABLE `dummy_models`;  (6.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (6.8ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:42', '2016-01-07 15:56:42', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:42', 1, 'blah', '2016-01-07 15:56:42') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:42' WHERE `comments`.`id` = 1  (1.5ms) COMMIT  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (11.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:56:43', '2016-01-07 15:56:43', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:56:43', 1, 'blah', '2016-01-07 15:56:43') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:56:43' WHERE `comments`.`id` = 1  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (7.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:04', '2016-01-07 15:57:04', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:04', 'delivery_man', '2016-01-07 15:57:04', 1)  (0.5ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:04', 1, 'blah', '2016-01-07 15:57:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:04' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:04' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.6ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (11.0ms) Completed 200 OK in 87ms (Views: 53.2ms | ActiveRecord: 22.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 10:57:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 10:57:05 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.8ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:05', '2016-01-07 15:57:05', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:05', 'delivery_man', '2016-01-07 15:57:05', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:05', 1, 'blah', '2016-01-07 15:57:05') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:05' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:05' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 10:57:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (6.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:05', '2016-01-07 15:57:05', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:05', 'delivery_man', '2016-01-07 15:57:05', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:05', 1, 'blah', '2016-01-07 15:57:05') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:05' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:07', '2016-01-07 15:57:07', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:07', 'delivery_man', '2016-01-07 15:57:07', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:07', 1, 'blah', '2016-01-07 15:57:07') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:07' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:07' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:07 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 1.5ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:07 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (12.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (66.1ms) Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.4ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:08', '2016-01-07 15:57:08', 1)  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:08', 'delivery_man', '2016-01-07 15:57:08', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:08', 1, 'blah', '2016-01-07 15:57:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:08' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:08' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:08 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:10 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:10', '2016-01-07 15:57:10', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:10', 'delivery_man', '2016-01-07 15:57:10', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:10', 1, 'blah', '2016-01-07 15:57:10') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:10' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:10' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:10 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.4ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:10 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.5ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.1ms) Completed 200 OK in 13ms (Views: 7.3ms | ActiveRecord: 2.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:10', '2016-01-07 15:57:10', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:10', 'delivery_man', '2016-01-07 15:57:10', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:10', 1, 'blah', '2016-01-07 15:57:10') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:10' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:10' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:10 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:10 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:12', '2016-01-07 15:57:12', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:12', 'delivery_man', '2016-01-07 15:57:12', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:12', 1, 'blah', '2016-01-07 15:57:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:12' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:12' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:12 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.7ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:12 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:57:12', 'delivery_man', '2016-01-07 15:57:12')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57384/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:12 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.3ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 1.2ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.9ms) TRUNCATE TABLE `comments`;  (6.4ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:12', '2016-01-07 15:57:12', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:12', 'delivery_man', '2016-01-07 15:57:12', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:12', 1, 'blah', '2016-01-07 15:57:12') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:12' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:12' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:12 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:12 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:57:12', 'delivery_man', '2016-01-07 15:57:12')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:13', '2016-01-07 15:57:13', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:13', 'delivery_man', '2016-01-07 15:57:13', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:13', 1, 'blah', '2016-01-07 15:57:13') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:13' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:13' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 10:57:13 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.2ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.4ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.5ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:13', '2016-01-07 15:57:13', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:13', 'delivery_man', '2016-01-07 15:57:13', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:13', 1, 'blah', '2016-01-07 15:57:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:13' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:13' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:13 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (3.0ms) Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:14 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 15:57:14' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Redirected to http://127.0.0.1:57384/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:14 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.1ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:14', '2016-01-07 15:57:14', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:14', 'delivery_man', '2016-01-07 15:57:14', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:14', 1, 'blah', '2016-01-07 15:57:14') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:14' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:14' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:14 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.7ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 1.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:14', '2016-01-07 15:57:14', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:14', 1, 'blah', '2016-01-07 15:57:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:14' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:57:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:14', '2016-01-07 15:57:14', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:14', 1, 'blah', '2016-01-07 15:57:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:14' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:14 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (10.4ms) TRUNCATE TABLE `comments`;  (6.8ms) TRUNCATE TABLE `dummy_models`;  (7.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:16', '2016-01-07 15:57:16', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:16', 1, 'blah', '2016-01-07 15:57:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:16' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:57:16 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:16 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (11.5ms) TRUNCATE TABLE `comments`;  (8.3ms) TRUNCATE TABLE `dummy_models`;  (7.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:16', '2016-01-07 15:57:16', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:16', 1, 'blah', '2016-01-07 15:57:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:16' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:16 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.8ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:18', '2016-01-07 15:57:18', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:18', 1, 'blah', '2016-01-07 15:57:18') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:18' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:57:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:18 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.9ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.1ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:18', '2016-01-07 15:57:18', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:18', 1, 'blah', '2016-01-07 15:57:18') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:18' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:18 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:20', '2016-01-07 15:57:20', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:20', 1, 'blah', '2016-01-07 15:57:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:20' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:57:20 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:20 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:57:20', '2016-01-07 15:57:20')  (0.5ms) COMMIT Redirected to http://127.0.0.1:57384/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:20 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.9ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:21', '2016-01-07 15:57:21', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:21', 1, 'blah', '2016-01-07 15:57:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:21' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:21 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:21 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:57:21', '2016-01-07 15:57:21')  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:22', '2016-01-07 15:57:22', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:22', 1, 'blah', '2016-01-07 15:57:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 1.1ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (1.0ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.5ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.6ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:22', '2016-01-07 15:57:22', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:22', 1, 'blah', '2016-01-07 15:57:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1/1/edit?comment_role=&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"", "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.4ms) Started PATCH "/commenteux/dummy_no_role_model/1/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 3 administrateur test"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) UPDATE `comments` SET `comment` = 'note 3 administrateur test', `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Redirected to http://127.0.0.1:57384/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.8ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 3 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:22', '2016-01-07 15:57:22', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:22', 1, 'blah', '2016-01-07 15:57:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/1/edit" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (1.8ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.4ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:22', '2016-01-07 15:57:22', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:22', 'delivery_man', '2016-01-07 15:57:22', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:22', 1, 'blah', '2016-01-07 15:57:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.6ms) TRUNCATE TABLE `comments`;  (9.2ms) TRUNCATE TABLE `dummy_models`;  (7.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:22', '2016-01-07 15:57:22', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:22', 'delivery_man', '2016-01-07 15:57:22', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:22', 1, 'blah', '2016-01-07 15:57:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:22' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:22 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.7ms) TRUNCATE TABLE `comments`;  (6.4ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:24', '2016-01-07 15:57:24', 1)  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:24', 'delivery_man', '2016-01-07 15:57:24', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:24', 1, 'blah', '2016-01-07 15:57:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:24' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:24', '2016-01-07 15:57:24', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:24', 'delivery_man', '2016-01-07 15:57:24', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:24', 1, 'blah', '2016-01-07 15:57:24') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:24' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.1ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:26', '2016-01-07 15:57:26', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:26', 'delivery_man', '2016-01-07 15:57:26', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:26', 1, 'blah', '2016-01-07 15:57:26') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:26' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:26 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 1.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:27', '2016-01-07 15:57:27', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:27', 'delivery_man', '2016-01-07 15:57:27', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:27', 1, 'blah', '2016-01-07 15:57:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:27' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:27' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:27 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:27 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.8ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:29', '2016-01-07 15:57:29', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:29', 'delivery_man', '2016-01-07 15:57:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:29', 1, 'blah', '2016-01-07 15:57:29') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:29' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:29' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 10:57:29 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:29 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:57:29', 'delivery_man', '2016-01-07 15:57:29')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57384/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:29 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.2ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.2ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 15:57:29', '2016-01-07 15:57:29', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 15:57:29', 'delivery_man', '2016-01-07 15:57:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:29', 1, 'blah', '2016-01-07 15:57:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:29' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 15:57:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:29 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:29 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 15:57:29', 'delivery_man', '2016-01-07 15:57:29')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.1ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.6ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:30', '2016-01-07 15:57:30', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:30', 1, 'blah', '2016-01-07 15:57:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:57:30 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:30', '2016-01-07 15:57:30', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:30', 1, 'blah', '2016-01-07 15:57:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:30' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:30 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.3ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:32', '2016-01-07 15:57:32', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:32', 1, 'blah', '2016-01-07 15:57:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:32' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 10:57:32 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:32 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.9ms) TRUNCATE TABLE `dummy_models`;  (5.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:32', '2016-01-07 15:57:32', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:32', 1, 'blah', '2016-01-07 15:57:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:32' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:32 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.1ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:34', '2016-01-07 15:57:34', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:34', 1, 'blah', '2016-01-07 15:57:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:34' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:57:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:34 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (6.3ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:34', '2016-01-07 15:57:34', 1)  (0.4ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:34', 1, 'blah', '2016-01-07 15:57:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:34' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:34 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (5.6ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:37', '2016-01-07 15:57:37', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:37', 1, 'blah', '2016-01-07 15:57:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:37' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 10:57:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:37 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:57:37', '2016-01-07 15:57:37')  (0.2ms) COMMIT Redirected to http://127.0.0.1:57384/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 10:57:37 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.2ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.0ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (6.8ms) TRUNCATE TABLE `dummy_models`;  (6.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 15:57:37', '2016-01-07 15:57:37', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 15:57:37', 1, 'blah', '2016-01-07 15:57:37') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 15:57:37' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:37 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 10:57:37 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 15:57:37', '2016-01-07 15:57:37')  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 1.0ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 19ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 16ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` ORDER BY created_at ASC  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"comments"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=true Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#update as HTML Parameters: {"comments"=>{"id"=>"2", "title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"delivery_man", "parent_div"=>"parent_div", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1", "id"=>"2"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"2", "comment_role"=>"delivery_man", "resource"=>"test", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:03', '2016-01-07 16:08:03', 1)  (5.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:03', 'delivery_man', '2016-01-07 16:08:03', 1)  (10.7ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:03', 1, 'blah', '2016-01-07 16:08:03') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:03' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:03' WHERE `comments`.`id` = 1  (5.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:04 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (5.6ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (19.0ms) Completed 200 OK in 132ms (Views: 109.5ms | ActiveRecord: 10.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-07 11:08:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-07 11:08:05 -0500  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.0ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:05', '2016-01-07 16:08:05', 1)  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:05', 'delivery_man', '2016-01-07 16:08:05', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:05', 1, 'blah', '2016-01-07 16:08:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:05' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=delivery_man" for 127.0.0.1 at 2016-01-07 11:08:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:05', '2016-01-07 16:08:05', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:05', 'delivery_man', '2016-01-07 16:08:05', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:05', 1, 'blah', '2016-01-07 16:08:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:05' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:05 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.3ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (6.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:07', '2016-01-07 16:08:07', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:07', 'delivery_man', '2016-01-07 16:08:07', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:07', 1, 'blah', '2016-01-07 16:08:07') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:07' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:07 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:07 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (13.6ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (88.0ms) Completed 200 OK in 95ms (Views: 92.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.5ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:07', '2016-01-07 16:08:07', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:07', 'delivery_man', '2016-01-07 16:08:07', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:07', 1, 'blah', '2016-01-07 16:08:07') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:07' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:07' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:07 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.3ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:09', '2016-01-07 16:08:09', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:09', 'delivery_man', '2016-01-07 16:08:09', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:09', 1, 'blah', '2016-01-07 16:08:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:09' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:09' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.3ms) Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:09', '2016-01-07 16:08:09', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:09', 'delivery_man', '2016-01-07 16:08:09', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:09', 1, 'blah', '2016-01-07 16:08:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:09' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:09' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:09 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.0ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:09 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (6.9ms) TRUNCATE TABLE `dummy_models`;  (6.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:11', '2016-01-07 16:08:11', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:11', 'delivery_man', '2016-01-07 16:08:11', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:11', 1, 'blah', '2016-01-07 16:08:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:11' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:11' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:11 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:11 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 16:08:11', 'delivery_man', '2016-01-07 16:08:11')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57831/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:11 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4.3ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 1.2ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:12', '2016-01-07 16:08:12', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:12', 'delivery_man', '2016-01-07 16:08:12', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:12', 1, 'blah', '2016-01-07 16:08:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:12' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:12' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:12 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:12 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 16:08:12', 'delivery_man', '2016-01-07 16:08:12')  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:13', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:13', 'delivery_man', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:13', 1, 'blah', '2016-01-07 16:08:13') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.3ms) Started DELETE "/commenteux/dummy_model/1?id=1&comment_role=comments" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"comments", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.2ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.9ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.4ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 1.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (6.7ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:13', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:13', 'delivery_man', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:13', 1, 'blah', '2016-01-07 16:08:13') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (2.8ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.4ms) Started PATCH "/commenteux/dummy_model/1/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 1 administrateur test", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 1 administrateur test', `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 1  (0.8ms) COMMIT Redirected to http://127.0.0.1:57831/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 1 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:13', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:13', 'delivery_man', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:13', 1, 'blah', '2016-01-07 16:08:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/1/edit?comment_role=comments&roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"comments", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1", "id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (2.7ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (6.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:13', '2016-01-07 16:08:13', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:13', 1, 'blah', '2016-01-07 16:08:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:13', '2016-01-07 16:08:13', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:13', 1, 'blah', '2016-01-07 16:08:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:13' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:13 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (6.5ms) TRUNCATE TABLE `dummy_models`;  (5.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:15', '2016-01-07 16:08:15', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:15', 1, 'blah', '2016-01-07 16:08:15') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:15' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 11:08:15 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:15 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.3ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:15', '2016-01-07 16:08:15', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:15', 1, 'blah', '2016-01-07 16:08:15') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:15' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:15 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:17 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.7ms) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:17', '2016-01-07 16:08:17', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:17', 1, 'blah', '2016-01-07 16:08:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:17' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 11:08:17 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.8ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:17 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:18', '2016-01-07 16:08:18', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:18', 1, 'blah', '2016-01-07 16:08:18') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:18' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:18 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:18 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.8ms) TRUNCATE TABLE `comments`;  (7.4ms) TRUNCATE TABLE `dummy_models`;  (6.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:20', '2016-01-07 16:08:20', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:20', 1, 'blah', '2016-01-07 16:08:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:20' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 11:08:20 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:20 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 16:08:20', '2016-01-07 16:08:20')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57831/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:20 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:20', '2016-01-07 16:08:20', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:20', 1, 'blah', '2016-01-07 16:08:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:20' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:20 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:20 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 16:08:20', '2016-01-07 16:08:20')  (0.5ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:21', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:21', 1, 'blah', '2016-01-07 16:08:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 1.6ms) Started DELETE "/commenteux/dummy_no_role_model/1?id=1&comment_role=" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#destroy as JS Parameters: {"id"=>"1", "comment_role"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.9ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 1  (0.4ms) COMMIT Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/destroy.js.erb (0.1ms) Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 1.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (7.0ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:21', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:21', 1, 'blah', '2016-01-07 16:08:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_no_role_model/1/1/edit?comment_role=&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"comment_role"=>"", "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb (1.6ms) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.5ms) Started PATCH "/commenteux/dummy_no_role_model/1/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#update as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"note 3 administrateur test"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) UPDATE `comments` SET `comment` = 'note 3 administrateur test', `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Redirected to http://127.0.0.1:57831/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true Completed 302 Found in 7ms (ActiveRecord: 1.6ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.4ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 1.2ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'note 3 administrateur test' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:21', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:21', 1, 'blah', '2016-01-07 16:08:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 1  (0.1ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/1/edit" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#edit as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1", "id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' AND `comments`.`id` = 1 ORDER BY created_at ASC LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/edit.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('admin@admin.com', 'Admin')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 1.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (6.0ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:21', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:21', 'delivery_man', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:21', 1, 'blah', '2016-01-07 16:08:21') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.4ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:21', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:21', 'delivery_man', '2016-01-07 16:08:21', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.1ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:21', 1, 'blah', '2016-01-07 16:08:21') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:21' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:21 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.2ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:24', '2016-01-07 16:08:24', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:24', 'delivery_man', '2016-01-07 16:08:24', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:24', 1, 'blah', '2016-01-07 16:08:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:24' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:24 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.5ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:24', '2016-01-07 16:08:24', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:24', 'delivery_man', '2016-01-07 16:08:24', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:24', 1, 'blah', '2016-01-07 16:08:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:24' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:24 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.2ms) TRUNCATE TABLE `comments`;  (5.7ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.3ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:26', '2016-01-07 16:08:26', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:26', 'delivery_man', '2016-01-07 16:08:26', 1)  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:26', 1, 'blah', '2016-01-07 16:08:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:26' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:26' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.8ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:26 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:26', '2016-01-07 16:08:26', 1)  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:26', 'delivery_man', '2016-01-07 16:08:26', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:26', 1, 'blah', '2016-01-07 16:08:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:26' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:26 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:26 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.8ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (5.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:28', '2016-01-07 16:08:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:28', 'delivery_man', '2016-01-07 16:08:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:28', 1, 'blah', '2016-01-07 16:08:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:28' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2016-01-07 11:08:28 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (2.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:28 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 16:08:28', 'delivery_man', '2016-01-07 16:08:28')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57831/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:28 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 [["id", 1]] Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 1.1ms) Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.7ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 1 administrateur', 'DummyModel', '2016-01-07 16:08:28', '2016-01-07 16:08:28', 1)  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`, `user_id`) VALUES ('note 2 livreur', 'DummyModel', '2016-01-07 16:08:28', 'delivery_man', '2016-01-07 16:08:28', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:28', 1, 'blah', '2016-01-07 16:08:28') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2016-01-07 16:08:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:28 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.9ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:28 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2016-01-07 16:08:28', 'delivery_man', '2016-01-07 16:08:28')  (0.4ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 1.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.9ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.4ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:29', '2016-01-07 16:08:29', 1)  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:29', 1, 'blah', '2016-01-07 16:08:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:29' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 11:08:29 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.2ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 1.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:29', '2016-01-07 16:08:29', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:29', 1, 'blah', '2016-01-07 16:08:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:29' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:29 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.7ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:31', '2016-01-07 16:08:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:31', 1, 'blah', '2016-01-07 16:08:31') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:31' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2016-01-07 11:08:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:31 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.0ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:31', '2016-01-07 16:08:31', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:31', 1, 'blah', '2016-01-07 16:08:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:31' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:31 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (1.5ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.9ms) TRUNCATE TABLE `comments`;  (5.4ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.6ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:34', '2016-01-07 16:08:34', 1)  (0.2ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:34', 1, 'blah', '2016-01-07 16:08:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:34' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 11:08:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:34 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.4ms) COMMIT User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 1.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.6ms) TRUNCATE TABLE `comments`;  (6.2ms) TRUNCATE TABLE `dummy_models`;  (5.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (4.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:34', '2016-01-07 16:08:34', 1)  (0.3ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:34', 1, 'blah', '2016-01-07 16:08:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:34' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:34 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.2ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:34 -0500 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) TRUNCATE TABLE `comments`;  (5.8ms) TRUNCATE TABLE `dummy_models`;  (6.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.8ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:36', '2016-01-07 16:08:36', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:36', 1, 'blah', '2016-01-07 16:08:36') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:36' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2016-01-07 11:08:36 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.1ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:36 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 16:08:36', '2016-01-07 16:08:36')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57831/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2016-01-07 11:08:36 -0500 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "display_list_notes"=>"true", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.1ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `users` (`email`, `name`) VALUES ('user@user.com', 'User')  (0.3ms) COMMIT User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.9ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.9ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.7ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (5.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `users` (`email`, `name`) VALUES ('fungo@fungo.com', 'Nick Demers')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`, `user_id`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2016-01-07 16:08:36', '2016-01-07 16:08:36', 1)  (0.2ms) COMMIT Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2016-01-07 16:08:36', 1, 'blah', '2016-01-07 16:08:36') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2016-01-07 16:08:36' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:36 -0500 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/_form.html.erb (1.3ms) Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2016-01-07 11:08:36 -0500 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "display_list_notes"=>"false", "resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2016-01-07 16:08:36', '2016-01-07 16:08:36')  (0.3ms) COMMIT Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 1.0ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (7.2ms) TRUNCATE TABLE `comments`;  (5.3ms) TRUNCATE TABLE `dummy_models`;  (5.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (5.9ms) TRUNCATE TABLE `users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1