(26.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (25.4ms) 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)  (14.4ms) CREATE TABLE `dummy_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 ('20140311235439')  (0.4ms) COMMIT Migrating to CreateComments (20140312000846)  (9.1ms) 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  (11.0ms) CREATE INDEX `index_comments_on_commentable_type` ON `comments` (`commentable_type`)   (13.9ms) CREATE INDEX `index_comments_on_commentable_id` ON `comments` (`commentable_id`)  (13.5ms) 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.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 5.9ms | 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.3ms | 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  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.2ms | 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.2ms) 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-11 12:55:44', 1, 'blah', '2015-06-11 12:55:44') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 08:55:44 -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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 141ms (Views: 122.1ms | ActiveRecord: 2.2ms)  (6.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-11 12:55:45', 1, 'blah', '2015-06-11 12:55:45') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 08:55:45 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/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.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-11 12:55:45', 1, 'blah', '2015-06-11 12:55:45') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-11 08:55:45 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (45.4ms) Completed 200 OK in 54ms (Views: 46.9ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 08:55:45 -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.3ms) 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-11 12:55:45', '2015-06-11 12:55:45') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 08:55:45 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.8ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) 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#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#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.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 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.2ms) 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.0ms | 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.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 22ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 21ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.3ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 34395ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 7.9ms | 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 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) 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#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.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: 4.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"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 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 2ms (Views: 1.3ms | 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.9ms | ActiveRecord: 0.0ms)  (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.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.9ms | 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 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) 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#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.3ms | 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 6ms (Views: 6.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"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK 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 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 JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 8ms (Views: 7.5ms | 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 2ms (Views: 1.9ms | 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 8ms (Views: 7.3ms | 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"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.2ms) 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#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: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.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"}, "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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (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-11 17:43:52', 1, 'blah', '2015-06-11 17:43:52') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 13:43:52 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 79ms (Views: 31.7ms | ActiveRecord: 20.5ms)  (6.1ms) 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-11 17:43:52', 1, 'blah', '2015-06-11 17:43:52') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 13:43:52 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.3ms) 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-11 17:43:52', 1, 'blah', '2015-06-11 17:43:52') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-11 13:43:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (63.6ms) Completed 200 OK in 71ms (Views: 64.9ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 13:43:52 -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.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-11 17:43:52', '2015-06-11 17:43:52') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 13:43:52 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.0ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (5.6ms) ROLLBACK  (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-11 17:59:06', 1, 'blah', '2015-06-11 17:59:06') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 13:59:06 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 34ms (Views: 16.8ms | ActiveRecord: 1.9ms)  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-11 17:59:06', 1, 'blah', '2015-06-11 17:59:06') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 13:59:06 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/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.5ms) 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-11 17:59:06', 1, 'blah', '2015-06-11 17:59:06') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-11 13:59:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (30.4ms) Completed 200 OK in 38ms (Views: 31.8ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 13:59:06 -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.3ms) 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-11 17:59:06', '2015-06-11 17:59:06') 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-11 13:59:06 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 11ms (Views: 3.0ms | ActiveRecord: 0.5ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.2ms) 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 3ms (Views: 2.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"}, "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.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: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (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.2ms) 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 6ms (Views: 5.3ms | 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  (0.1ms) 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.2ms | 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 6ms (Views: 5.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"}, "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.2ms) 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#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 8ms (Views: 7.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 3ms (Views: 2.6ms | 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.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: 4.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 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 6.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 5ms (Views: 4.3ms | 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"}, "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.2ms) 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.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 4ms (Views: 4.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.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 6.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 5ms (Views: 4.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 1ms (Views: 1.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 4ms (Views: 4.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#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) 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#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.3ms | 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.3ms | 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 2ms (Views: 1.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 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (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  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK 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.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 7ms (Views: 6.7ms | 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  (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"}, "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#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.2ms) 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.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) 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"}, "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.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#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 13ms (Views: 12.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 5ms (Views: 4.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 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 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) 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"}, "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.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 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 6.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.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#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: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 7ms (Views: 7.3ms | 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 3ms (Views: 2.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 6ms (Views: 5.5ms | 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: 1.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 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#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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"}, "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.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 6ms (Views: 5.4ms | 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 5ms (Views: 5.0ms | 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 2ms (Views: 1.4ms | 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 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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 15ms (Views: 14.7ms | 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 3ms (Views: 2.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: {"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#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 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"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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 Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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.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#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.9ms | 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.6ms | 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"}, "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"}, "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#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.4ms | 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.2ms | 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.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.7ms | 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.2ms | 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 Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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"}, "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#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.2ms | 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.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) 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"}, "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"}, "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.2ms) 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"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.4ms | 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  (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.7ms | 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.4ms | ActiveRecord: 0.0ms)  (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#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 7ms (Views: 6.3ms | 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.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) 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"}, "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"}, "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.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.3ms | 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.3ms | ActiveRecord: 0.0ms)  (0.1ms) 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-11 19:04:39', 1, 'blah', '2015-06-11 19:04:39') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 15:04:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 56ms (Views: 15.9ms | ActiveRecord: 20.1ms)  (0.5ms) ROLLBACK  (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-11 19:04:39', 1, 'blah', '2015-06-11 19:04:39') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 15:04:39 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | 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-11 19:04:39', 1, 'blah', '2015-06-11 19:04:39') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-11 15:04:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (51.3ms) Completed 200 OK in 59ms (Views: 52.7ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 15:04:39 -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.3ms) 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-11 19:04:39', '2015-06-11 19:04:39') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 15:04:39 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.3ms) 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-11 19:08:00', 1, 'blah', '2015-06-11 19:08:00') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 15:08:00 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 31ms (Views: 13.5ms | ActiveRecord: 2.2ms)  (0.5ms) 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-11 19:08:00', 1, 'blah', '2015-06-11 19:08:00') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 15:08:00 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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-11 19:08:00', 1, 'blah', '2015-06-11 19:08:00') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-11 15:08:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (30.2ms) Completed 200 OK in 38ms (Views: 31.5ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 15:08:00 -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.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-11 19:08:00', '2015-06-11 19:08:00') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 15:08:00 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.4ms) 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  (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"}, "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.2ms) 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#new as HTML Parameters: {"role"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.6ms | 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 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.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) 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 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.2ms) 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.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK 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 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"}, "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#new as HTML Parameters: {"role"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 7ms (Views: 7.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 5ms (Views: 4.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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.2ms | 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: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK 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  (0.1ms) 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 9ms (Views: 8.2ms | 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 6ms (Views: 5.3ms | 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 HTML Parameters: {"role"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.7ms | 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.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) 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"}, "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"}, "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.2ms) 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"}, "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.2ms) 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#index as HTML Parameters: {"roles"=>["comment", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.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 5ms (Views: 4.3ms | 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 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"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.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-11 20:25:36', 1, 'blah', '2015-06-11 20:25:36') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 16:25:36 -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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 178ms (Views: 133.0ms | ActiveRecord: 20.8ms)  (6.2ms) 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-11 20:25:36', 1, 'blah', '2015-06-11 20:25:36') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 16:25:36 -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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.5ms) 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-11 20:25:36', 1, 'blah', '2015-06-11 20:25:36') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&role[]=delivery_man" for 127.0.0.1 at 2015-06-11 16:25:36 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments"], "role"=>["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 Completed 500 Internal Server Error in 1ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-11 20:25:56', 1, 'blah', '2015-06-11 20:25:56') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 16:25:56 -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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 30ms (Views: 13.3ms | ActiveRecord: 2.1ms)  (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-11 20:25:56', 1, 'blah', '2015-06-11 20:25:56') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-11 16:25:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.5ms) 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-11 20:25:56', 1, 'blah', '2015-06-11 20:25:56') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-11 16:25:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (64.5ms) Completed 200 OK in 72ms (Views: 66.0ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 16:25:57 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci 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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-11 20:25:57', '2015-06-11 20:25:57') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-11 16:25:57 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.6ms)  (7.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (12.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (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-12 12:50:37', 1, 'blah', '2015-06-12 12:50:37') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-12 08:50:37 -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 Completed 500 Internal Server Error in 4ms  (5.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 12:50:37', 1, 'blah', '2015-06-12 12:50:37') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-12 08:50:37 -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 Completed 500 Internal Server Error in 1ms  (6.2ms) 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-12 12:50:37', 1, 'blah', '2015-06-12 12:50:37') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 08:50:37 -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 Completed 500 Internal Server Error in 1ms  (0.4ms) ROLLBACK  (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-12 12:53:29', 1, 'blah', '2015-06-12 12:53:29') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 08:53:29 -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 Completed 500 Internal Server Error in 3ms  (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-12 12:53:29', 1, 'blah', '2015-06-12 12:53:29') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 08:53:29 -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 Completed 500 Internal Server Error in 1ms  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 12:53:29', 1, 'blah', '2015-06-12 12:53:29') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 08:53:29 -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 Completed 500 Internal Server Error in 1ms  (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-12 13:00:10', 1, 'blah', '2015-06-12 13:00:10') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:00:10 -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.6ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC Completed 500 Internal Server Error in 51ms  (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-12 13:00:10', 1, 'blah', '2015-06-12 13:00:10') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:00:10 -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' ORDER BY created_at ASC Completed 500 Internal Server Error in 3ms  (0.3ms) 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-12 13:00:10', 1, 'blah', '2015-06-12 13:00:10') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:00:10 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (63.4ms) Completed 200 OK in 88ms (Views: 81.3ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:00:10 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:00:10', '2015-06-12 13:00:10') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:00:10 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.9ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.4ms)  (6.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (1.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:11:51', 1, 'blah', '2015-06-12 13:11:51') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:11:51 -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 Completed 500 Internal Server Error in 4ms  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:11:51', 1, 'blah', '2015-06-12 13:11:51') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:11:51 -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 Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:11:51', 1, 'blah', '2015-06-12 13:11:51') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:11:51 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.1ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 1ms  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:13:50', 1, 'blah', '2015-06-12 13:13:50') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:13: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 21ms (Views: 15.8ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:13:50', 1, 'blah', '2015-06-12 13:13:50') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:13: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/nickdemers/Documents/Projects/workspace/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.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:13:50', 1, 'blah', '2015-06-12 13:13:50') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:13:50 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.0ms) Completed 200 OK in 48ms (Views: 42.4ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:13:50 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:13:50', '2015-06-12 13:13:50') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:13:50 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:19:11', 1, 'blah', '2015-06-12 13:19:11') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:19:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 20ms (Views: 14.6ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (1.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:19:11', 1, 'blah', '2015-06-12 13:19:11') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:19:11 -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/nickdemers/Documents/Projects/workspace/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.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:19:11', 1, 'blah', '2015-06-12 13:19:11') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:19:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.9ms) Completed 200 OK in 50ms (Views: 43.4ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:19:11 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:19:11', '2015-06-12 13:19:11') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:19:11 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN 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 SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:26:22', 1, 'blah', '2015-06-12 13:26:22') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:26:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 25ms (Views: 18.7ms | ActiveRecord: 0.6ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (5.6ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:26:22', 1, 'blah', '2015-06-12 13:26:22') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:26:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:26:22', 1, 'blah', '2015-06-12 13:26:22') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:26:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (55.9ms) Completed 200 OK in 63ms (Views: 57.2ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:26:22 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:26:22', '2015-06-12 13:26:22') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:26:22 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:31:43', 1, 'blah', '2015-06-12 13:31:43') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:31:43 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 21ms (Views: 15.2ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:31:43', 1, 'blah', '2015-06-12 13:31:43') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:31:43 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:31:43', 1, 'blah', '2015-06-12 13:31:43') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:31:43 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.7ms) Completed 200 OK in 45ms (Views: 34.1ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:31:43 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:31:43', '2015-06-12 13:31:43') 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-12 09:31:43 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:37:39', 1, 'blah', '2015-06-12 13:37:39') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:37:39 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 19ms (Views: 13.5ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:37:40', 1, 'blah', '2015-06-12 13:37:40') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:37:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:37:40', 1, 'blah', '2015-06-12 13:37:40') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:37:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.6ms) Completed 200 OK in 49ms (Views: 43.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:37:40 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:37:40', '2015-06-12 13:37:40') 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-12 09:37:40 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.4ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:38:00', 1, 'blah', '2015-06-12 13:38:00') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:38:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 21ms (Views: 14.5ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:38:00', 1, 'blah', '2015-06-12 13:38:00') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:38:00 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:38:01', 1, 'blah', '2015-06-12 13:38:01') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:38: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.7ms) Completed 200 OK in 48ms (Views: 41.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:38:01 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:38:01', '2015-06-12 13:38:01') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:38:01 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:39:47', 1, 'blah', '2015-06-12 13:39:47') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:39:47 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 20ms (Views: 14.5ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:39:47', 1, 'blah', '2015-06-12 13:39:47') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:39:47 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:39:47', 1, 'blah', '2015-06-12 13:39:47') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:39:47 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.3ms) Completed 200 OK in 46ms (Views: 40.5ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:39:47 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:39:47', '2015-06-12 13:39:47') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:39:47 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.4ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:40:50', 1, 'blah', '2015-06-12 13:40:50') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:40: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 21ms (Views: 15.0ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:40:50', 1, 'blah', '2015-06-12 13:40:50') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:40: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:40:50', 1, 'blah', '2015-06-12 13:40:50') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:40:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.8ms) Completed 200 OK in 48ms (Views: 41.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:40:50 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:40:50', '2015-06-12 13:40:50') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:40:50 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:46:23', 1, 'blah', '2015-06-12 13:46:23') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:46:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 28ms (Views: 22.4ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:46:23', 1, 'blah', '2015-06-12 13:46:23') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:46:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:46:23', 1, 'blah', '2015-06-12 13:46:23') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:46:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.1ms) Completed 200 OK in 45ms (Views: 34.4ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:46:23 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:46:23', '2015-06-12 13:46:23') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:46:23 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.5ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:46:48', 1, 'blah', '2015-06-12 13:46:48') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:46:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 20ms (Views: 14.4ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:46:48', 1, 'blah', '2015-06-12 13:46:48') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:46:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:46:48', 1, 'blah', '2015-06-12 13:46:48') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:46:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (38.1ms) Completed 200 OK in 45ms (Views: 39.3ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:46:48 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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 ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:46:48', '2015-06-12 13:46:48') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:46:48 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.4ms)  (6.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:51:38', 1, 'blah', '2015-06-12 13:51:38') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:51:38 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 21ms (Views: 14.1ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Comment Load (0.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:51:38', 1, 'blah', '2015-06-12 13:51:38') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:51:38 -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/nickdemers/Documents/Projects/workspace/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.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 13:51:38', 1, 'blah', '2015-06-12 13:51:38') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 09:51:38 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.9ms) Completed 200 OK in 51ms (Views: 41.4ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 09:51:38 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceeeci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceeeci est un commentaire', 1, 'DummyModel', '2015-06-12 13:51:38', '2015-06-12 13:51:38') 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-12 09:51:38 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.4ms)  (6.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:08:09', 1, 'blah', '2015-06-12 14:08:09') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:08:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 25ms (Views: 19.7ms | ActiveRecord: 0.7ms)  (6.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:08:09', 1, 'blah', '2015-06-12 14:08:09') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:08:09 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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 SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:08:09', 1, 'blah', '2015-06-12 14:08:09') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:08: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (45.3ms) Completed 200 OK in 52ms (Views: 46.6ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:08:10 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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-12 14:08:10', '2015-06-12 14:08:10') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:08:10 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (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-12 14:19:26', 1, 'blah', '2015-06-12 14:19:26') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:19:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 37ms (Views: 17.4ms | ActiveRecord: 2.4ms)  (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-12 14:19:26', 1, 'blah', '2015-06-12 14:19:26') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:19:26 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:19:26', 1, 'blah', '2015-06-12 14:19:26') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-12 10:19:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (38.4ms) Completed 200 OK in 46ms (Views: 39.8ms | ActiveRecord: 0.3ms)  (5.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:20:39', 1, 'blah', '2015-06-12 14:20:39') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:20:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 14.2ms | ActiveRecord: 2.3ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:20:40', 1, 'blah', '2015-06-12 14:20:40') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:20:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (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-12 14:20:40', 1, 'blah', '2015-06-12 14:20:40') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:20:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (38.5ms) Completed 200 OK in 47ms (Views: 40.0ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:20:40 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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-12 14:20:40', '2015-06-12 14:20:40') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:20:40 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (5.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_model_no_roles' doesn't exist: SHOW FULL FIELDS FROM `dummy_model_no_roles`  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_model_no_roles' doesn't exist: SHOW FULL FIELDS FROM `dummy_model_no_roles`  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_model_no_roles' doesn't exist: SHOW FULL FIELDS FROM `dummy_model_no_roles`  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_model_no_roles' doesn't exist: SHOW FULL FIELDS FROM `dummy_model_no_roles`  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_model_no_roles' doesn't exist: SHOW FULL FIELDS FROM `dummy_model_no_roles`  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_model_no_roles' doesn't exist: SHOW FULL FIELDS FROM `dummy_model_no_roles`  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` Migrating to CreateDummyNoRoleModels (20150612102101)  (10.8ms) 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.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150612102101')  (6.2ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:41:16', 1, 'blah', '2015-06-12 14:41:16') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-12 10:41:16 -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 Completed 404 Not Found in 17ms  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:41:16', 1, 'blah', '2015-06-12 14:41:16') Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-12 10:41:16 -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 Completed 404 Not Found in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:41:16', 1, 'blah', '2015-06-12 14:41:16') Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-12 10:41:16 -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 Completed 404 Not Found in 1ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:41:54', 1, 'blah', '2015-06-12 14:41:54') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:41:54 -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 Completed 500 Internal Server Error in 3ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:41:54', 1, 'blah', '2015-06-12 14:41:54') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:41:54 -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 Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:41:54', 1, 'blah', '2015-06-12 14:41:54') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 10:41:54 -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 Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:42:12', 1, 'blah', '2015-06-12 14:42:12') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:42:12 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 59ms (Views: 20.4ms | ActiveRecord: 18.5ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:42:12', 1, 'blah', '2015-06-12 14:42:12') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:42:12 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:42:12', 1, 'blah', '2015-06-12 14:42:12') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 10:42: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (63.1ms) Completed 200 OK in 72ms (Views: 64.5ms | ActiveRecord: 0.5ms)  (6.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:43:19', 1, 'blah', '2015-06-12 14:43:19') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:43:19 -0400 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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 32ms (Views: 14.1ms | ActiveRecord: 2.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:43:19', 1, 'blah', '2015-06-12 14:43:19') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:43: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:43:19', 1, 'blah', '2015-06-12 14:43:19') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 10:43:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (48.7ms) Completed 200 OK in 58ms (Views: 50.6ms | ActiveRecord: 0.5ms)  (6.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:45:49', 1, 'blah', '2015-06-12 14:45:49') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:45:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 34ms (Views: 14.2ms | ActiveRecord: 2.3ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:45:49', 1, 'blah', '2015-06-12 14:45:49') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:45:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:45:49', 1, 'blah', '2015-06-12 14:45:49') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 10:45:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.8ms) Completed 200 OK in 49ms (Views: 43.1ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:45:49 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 14:45:49', '2015-06-12 14:45:49') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:45:49 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:47:50', 1, 'blah', '2015-06-12 14:47:50') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:47:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 31ms (Views: 13.6ms | ActiveRecord: 2.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:47:50', 1, 'blah', '2015-06-12 14:47:50') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:47:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:47:50', 1, 'blah', '2015-06-12 14:47:50') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 10:47:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.8ms) Completed 200 OK in 45ms (Views: 39.1ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:47:50 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 14:47:50', '2015-06-12 14:47:50') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:47:50 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.5ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) 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-12 14:48:52', 1, 'blah', '2015-06-12 14:48:52') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:48:52 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 35ms (Views: 14.3ms | ActiveRecord: 2.7ms)  (0.5ms) 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-12 14:48:52', 1, 'blah', '2015-06-12 14:48:52') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:48:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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-12 14:48:52', 1, 'blah', '2015-06-12 14:48:52') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10: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 Completed 500 Internal Server Error in 1ms  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:53:27', 1, 'blah', '2015-06-12 14:53:27') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:53:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 33ms (Views: 14.4ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:53:27', 1, 'blah', '2015-06-12 14:53:27') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 10:53:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:53:27', 1, 'blah', '2015-06-12 14:53:27') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 10:53:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.5ms) Completed 200 OK in 44ms (Views: 36.8ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:53:28 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 14:53:28', '2015-06-12 14:53:28') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:53:28 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.5ms) ROLLBACK  (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-12 14:55:41', 1, 'blah', '2015-06-12 14:55:41') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:55:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 41ms (Views: 19.2ms | ActiveRecord: 2.4ms)  (0.5ms) 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-12 14:55:41', 1, 'blah', '2015-06-12 14:55:41') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:55:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (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-12 14:55:41', 1, 'blah', '2015-06-12 14:55:41') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:55:41 -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 Completed 500 Internal Server Error in 2ms  (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-12 14:57:28', 1, 'blah', '2015-06-12 14:57:28') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:57:28 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 38ms (Views: 17.1ms | ActiveRecord: 2.4ms)  (0.5ms) 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-12 14:57:28', 1, 'blah', '2015-06-12 14:57:28') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 10:57:28 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 14:57:28', 1, 'blah', '2015-06-12 14:57:28') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 10:57:28 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.9ms) Completed 200 OK in 50ms (Views: 44.2ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:57:28 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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-12 14:57:28', '2015-06-12 14:57:28') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 10:57:28 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 Completed 500 Internal Server Error in 1ms  (5.9ms) 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-12 15:01:15', 1, 'blah', '2015-06-12 15:01:15') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:01:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 14.0ms | ActiveRecord: 2.3ms)  (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-12 15:01:15', 1, 'blah', '2015-06-12 15:01:15') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:01:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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-12 15:01:15', 1, 'blah', '2015-06-12 15:01:15') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 11:01:15 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (47.6ms) Completed 200 OK in 55ms (Views: 49.0ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 11:01:15 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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-12 15:01:15', '2015-06-12 15:01:15') Completed 500 Internal Server Error in 5ms  (5.6ms) 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-12 15:02:18', 1, 'blah', '2015-06-12 15:02:18') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:02:18 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 38ms (Views: 16.4ms | ActiveRecord: 3.9ms)  (0.3ms) 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-12 15:02:18', 1, 'blah', '2015-06-12 15:02:18') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:02:18 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.7ms) 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-12 15:02:18', 1, 'blah', '2015-06-12 15:02:18') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 11:02:18 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.1ms) Completed 200 OK in 48ms (Views: 40.6ms | ActiveRecord: 0.4ms)  (6.0ms) 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-12 15:02:35', 1, 'blah', '2015-06-12 15:02:35') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:02:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 13.7ms | ActiveRecord: 2.6ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 15:02:35', 1, 'blah', '2015-06-12 15:02:35') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:02:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.2ms | 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-12 15:02:35', 1, 'blah', '2015-06-12 15:02:35') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 11:02:35 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (43.7ms) Completed 200 OK in 52ms (Views: 45.3ms | ActiveRecord: 0.3ms)  (6.0ms) 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-12 15:03:24', 1, 'blah', '2015-06-12 15:03:24') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:03:24 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 39ms (Views: 17.1ms | ActiveRecord: 2.4ms)  (0.5ms) 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-12 15:03:24', 1, 'blah', '2015-06-12 15:03:24') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 11:03:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 15:03:24', 1, 'blah', '2015-06-12 15:03:24') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 11:03:24 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.3ms) Completed 200 OK in 49ms (Views: 42.7ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 11:03:24 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "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.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 15:03:24', '2015-06-12 15:03:24') Completed 500 Internal Server Error in 4ms  (6.0ms) 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-12 16:20:39', 1, 'blah', '2015-06-12 16:20:39') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:20:39 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 66ms (Views: 25.2ms | ActiveRecord: 18.2ms)  (6.3ms) 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-12 16:20:40', 1, 'blah', '2015-06-12 16:20:40') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:20:40 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (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-12 16:20:40', 1, 'blah', '2015-06-12 16:20:40') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:20:40 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (46.2ms) Completed 200 OK in 54ms (Views: 47.5ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:20:40 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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-12 16:20:40', '2015-06-12 16:20:40') Completed 500 Internal Server Error in 5ms  (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-12 16:21:17', 1, 'blah', '2015-06-12 16:21:17') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:21:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 37ms (Views: 15.5ms | ActiveRecord: 2.6ms)  (0.5ms) ROLLBACK  (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-12 16:21:17', 1, 'blah', '2015-06-12 16:21:17') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:21:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.5ms) 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-12 16:21:17', 1, 'blah', '2015-06-12 16:21:17') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:21:17 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.3ms) Completed 200 OK in 48ms (Views: 41.6ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:21:17 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) 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-12 16:21:17', '2015-06-12 16:21:17') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:21:17 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 Completed 500 Internal Server Error in 1ms  (6.0ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:23:03', 1, 'blah', '2015-06-12 16:23:03') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:23:03 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 74ms (Views: 34.5ms | ActiveRecord: 2.8ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:23:03', 1, 'blah', '2015-06-12 16:23:03') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:23:03 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 20ms (Views: 3.6ms | ActiveRecord: 1.2ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:23:03', 1, 'blah', '2015-06-12 16:23:03') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:23:03 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "role"=>"comments", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.7ms) Completed 200 OK in 19327ms (Views: 80.7ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:23:22 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 16:24:39', '2015-06-12 16:24:39') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 94898ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:24:57 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 11670ms  (6.2ms) 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-12 16:28:40', 1, 'blah', '2015-06-12 16:28:40') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:28:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 33ms (Views: 13.2ms | ActiveRecord: 2.7ms)  (0.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-12 16:28:40', 1, 'blah', '2015-06-12 16:28:40') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:28:40 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.5ms) 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-12 16:28:40', 1, 'blah', '2015-06-12 16:28:40') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:28:40 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.8ms) Completed 200 OK in 48ms (Views: 42.1ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:28:40 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 16:28:40', '2015-06-12 16:28:40') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:28:40 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 Completed 500 Internal Server Error in 1ms  (11.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:28:46', 1, 'blah', '2015-06-12 16:28:46') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:28:46 -0400 Processing by Commenteux::NotesController#index 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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 3514ms (Views: 32.8ms | ActiveRecord: 3.6ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:28:50', 1, 'blah', '2015-06-12 16:28:50') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:28:50 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 2229ms (Views: 4.0ms | ActiveRecord: 1.1ms)  (1.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:28:52', 1, 'blah', '2015-06-12 16:28:52') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:28:52 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (80.9ms) Completed 200 OK in 1325ms (Views: 85.1ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:28:54 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 16:28:57', '2015-06-12 16:28:57') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 1210855ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:49:04 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 1885ms  (6.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:50:00', 1, 'blah', '2015-06-12 16:50:00') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:50:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.3ms) Completed 200 OK in 2820ms (Views: 53.8ms | ActiveRecord: 20.4ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:50:03', 1, 'blah', '2015-06-12 16:50:03') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:50:03 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 1533ms (Views: 3.0ms | ActiveRecord: 1.3ms)  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:50:05', 1, 'blah', '2015-06-12 16:50:05') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:50:05 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (82.8ms) Completed 200 OK in 8213ms (Views: 87.0ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:50:13 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 16:53:14', '2015-06-12 16:53:14') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 181517ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:53:14 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 2185ms  (6.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:57:12', 1, 'blah', '2015-06-12 16:57:12') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:57:12 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 2454ms (Views: 34.1ms | ActiveRecord: 4.2ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:57:15', 1, 'blah', '2015-06-12 16:57:15') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:57:15 -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.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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.9ms) Completed 200 OK in 1050ms (Views: 3.8ms | ActiveRecord: 1.3ms)  (1.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:57:16', 1, 'blah', '2015-06-12 16:57:16') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:57:16 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (74.5ms) Completed 200 OK in 1543ms (Views: 77.8ms | ActiveRecord: 0.8ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:57:17 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 16:58:07', '2015-06-12 16:58:07') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 49297ms (ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:58:07 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 1488ms  (5.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:58:14', 1, 'blah', '2015-06-12 16:58:14') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:58: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 855ms (Views: 43.4ms | ActiveRecord: 3.7ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:58:15', 1, 'blah', '2015-06-12 16:58:15') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 12:58:15 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 1021ms (Views: 5.2ms | ActiveRecord: 1.2ms)  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 16:58:16', 1, 'blah', '2015-06-12 16:58:16') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 12:58:16 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (77.0ms) Completed 200 OK in 1791ms (Views: 80.5ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:58:17 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Unpermitted parameters: role Unpermitted parameters: role SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 16:58:46', '2015-06-12 16:58:46') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 33141ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 12:58:51 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 1018ms  (6.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:16:19', 1, 'blah', '2015-06-12 17:16:19') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 13:16:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 1417ms (Views: 47.1ms | ActiveRecord: 19.4ms)  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:16:20', 1, 'blah', '2015-06-12 17:16:20') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 13:16:20 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 1294ms (Views: 3.2ms | ActiveRecord: 1.2ms)  (46.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:16:22', 1, 'blah', '2015-06-12 17:16:22') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 13:16:22 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (91.0ms) Completed 200 OK in 6750ms (Views: 95.1ms | ActiveRecord: 0.8ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 13:16:28 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments", "roles"=>"delivery_man"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Unpermitted parameters: role Unpermitted parameters: role Completed 500 Internal Server Error in 184664ms  (6.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:19:41', 1, 'blah', '2015-06-12 17:19:41') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 13:19:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 2265ms (Views: 44.0ms | ActiveRecord: 19.5ms)  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:19:44', 1, 'blah', '2015-06-12 17:19:44') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 13:19:44 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 738ms (Views: 3.0ms | ActiveRecord: 1.2ms)  (1.1ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:19:44', 1, 'blah', '2015-06-12 17:19:44') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 13:19:44 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (117.6ms) Completed 200 OK in 1278ms (Views: 121.0ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 13:19:46 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments", "roles"=>"delivery_man"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Unpermitted parameters: role Unpermitted parameters: role Completed 500 Internal Server Error in 272053ms  (6.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:28:39', 1, 'blah', '2015-06-12 17:28:39') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 13:28:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 4787ms (Views: 38.0ms | ActiveRecord: 3.2ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:28:44', 1, 'blah', '2015-06-12 17:28:44') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 13:28:44 -0400 Processing by Commenteux::NotesController#index 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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 1186ms (Views: 3.0ms | ActiveRecord: 1.3ms)  (1.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:28:45', 1, 'blah', '2015-06-12 17:28:45') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 13:28:45 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (77.0ms) Completed 200 OK in 25806ms (Views: 80.7ms | ActiveRecord: 0.8ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 13:29:11 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments", "roles"=>"delivery_man"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Unpermitted parameters: role Unpermitted parameters: role Completed 500 Internal Server Error in 85663ms  (6.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:41:12', 1, 'blah', '2015-06-12 17:41:12') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 13:41:12 -0400 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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 1491ms (Views: 41.7ms | ActiveRecord: 19.2ms)  (5.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:41:14', 1, 'blah', '2015-06-12 17:41:14') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 13:41:14 -0400 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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 794ms (Views: 3.7ms | ActiveRecord: 0.8ms)  (44.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 17:41:15', 1, 'blah', '2015-06-12 17:41:15') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 13:41:15 -0400 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 Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (78.4ms) Completed 200 OK in 1092ms (Views: 82.4ms | ActiveRecord: 1.5ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 13:41:16 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 17:41:17', '2015-06-12 17:41:17') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 984ms (ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 13:41:17 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (13.6ms) Completed 200 OK in 914ms (Views: 16.8ms | ActiveRecord: 0.8ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:06:24', 1, 'blah', '2015-06-12 18:06:24') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 14:06:24 -0400 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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 2117ms (Views: 47.5ms | ActiveRecord: 18.9ms)  (6.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:06:26', 1, 'blah', '2015-06-12 18:06:26') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 14:06:26 -0400 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.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 1738ms (Views: 3.6ms | ActiveRecord: 0.9ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:06:28', 1, 'blah', '2015-06-12 18:06:28') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 14:06:28 -0400 Processing by Commenteux::NotesController#new 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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (96.9ms) Completed 200 OK in 2533ms (Views: 100.9ms | ActiveRecord: 1.5ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 14:06:31 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 18:07:06', '2015-06-12 18:07:06') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 35800ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 14:07:06 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (8.6ms) Completed 200 OK in 2185ms (Views: 11.8ms | ActiveRecord: 0.8ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:07:24', 1, 'blah', '2015-06-12 18:07:24') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 14:07:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 1403ms (Views: 37.7ms | ActiveRecord: 4.4ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:07:26', 1, 'blah', '2015-06-12 18:07:26') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 14:07:26 -0400 Processing by Commenteux::NotesController#index 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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.8ms) Completed 200 OK in 1014ms (Views: 3.6ms | ActiveRecord: 1.2ms)  (1.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:07:27', 1, 'blah', '2015-06-12 18:07:27') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 14:07:27 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (80.2ms) Completed 200 OK in 1227ms (Views: 84.1ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 14:07:28 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments", "roles"=>"delivery_man"}, "parent_div"=>"", "roles"=>["comments", "delivery_man"], "resource"=>"dummy_model", "resource_id"=>"1"}  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN DummyModel Load (0.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Unpermitted parameters: role Unpermitted parameters: role Completed 500 Internal Server Error in 1406408ms SQL (8463.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:30:46', 1, 'blah', '2015-06-12 18:30:46') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 14:30:55 -0400  (5.7ms) ROLLBACK 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms) Completed 200 OK in 178ms (Views: 131.3ms | ActiveRecord: 20.4ms)  (6.2ms) ROLLBACK  (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-12 18:30:55', 1, 'blah', '2015-06-12 18:30:55') Started GET "/commenteux/dummy_model/1?roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 14:30:55 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (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-12 18:30:55', 1, 'blah', '2015-06-12 18:30:55') Started GET "/commenteux/dummy_model/1/new?roles[]=comments&roles[]=delivery_man&role=comments" for 127.0.0.1 at 2015-06-12 14:30:55 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>["comments", "delivery_man"], "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (67.3ms) Completed 200 OK in 83ms (Views: 69.1ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles[]=comments&roles[]=delivery_man" for 127.0.0.1 at 2015-06-12 14:30:55 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 18:30:55', '2015-06-12 18:30:55') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 14:30:55 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 Completed 500 Internal Server Error in 1ms  (6.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:32:06', 1, 'blah', '2015-06-12 18:32:06') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 14:32:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 33ms (Views: 16.1ms | ActiveRecord: 2.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:32:06', 1, 'blah', '2015-06-12 18:32:06') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 14:32:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:32:06', 1, 'blah', '2015-06-12 18:32:06') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 14:32:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.0ms) Completed 200 OK in 47ms (Views: 41.3ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 14:32:06 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 18:32:06', '2015-06-12 18:32:06') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 14:32:06 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.3ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.5ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (5.9ms) 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-12 18:47:15', 1, 'blah', '2015-06-12 18:47:15') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:47:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 35ms (Views: 15.2ms | ActiveRecord: 2.4ms)  (6.3ms) 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-12 18:47:15', 1, 'blah', '2015-06-12 18:47:15') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:47:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.6ms) 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-12 18:47:15', 1, 'blah', '2015-06-12 18:47:15') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:47:15 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.8ms) Completed 500 Internal Server Error in 11ms  (6.2ms) 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-12 18:48:28', 1, 'blah', '2015-06-12 18:48:28') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:48:28 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 36ms (Views: 15.2ms | ActiveRecord: 2.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:48:28', 1, 'blah', '2015-06-12 18:48:28') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:48:28 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (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-12 18:48:28', 1, 'blah', '2015-06-12 18:48:28') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:48:28 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.6ms) Completed 500 Internal Server Error in 47ms  (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-12 18:50:50', 1, 'blah', '2015-06-12 18:50:50') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:50: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 14.3ms | ActiveRecord: 2.4ms)  (0.5ms) 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-12 18:50:50', 1, 'blah', '2015-06-12 18:50:50') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:50: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:50:50', 1, 'blah', '2015-06-12 18:50:50') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:50:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.1ms) Completed 200 OK in 51ms (Views: 43.9ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 14:50:50 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 18:50:50', '2015-06-12 18:50:50') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:50:50 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.7ms) Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.6ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:54:21', 1, 'blah', '2015-06-12 18:54:21') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:54:21 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.1ms) Completed 200 OK in 12004ms (Views: 54.5ms | ActiveRecord: 4.1ms)  (1.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 18:54:34', 1, 'blah', '2015-06-12 18:54:34') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:54:34 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 7468ms (Views: 2.9ms | ActiveRecord: 0.9ms)  (0.9ms) ROLLBACK  (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-12 18:54:41', 1, 'blah', '2015-06-12 18:54:41') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:54: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (70.9ms) Completed 200 OK in 19939ms (Views: 74.3ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 14:55:01 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 18:55:37', '2015-06-12 18:55:37') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 36044ms (ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 14:55:37 -0400 Processing by Commenteux::NotesController#index as HTML 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (7.2ms) Completed 200 OK in 4163ms (Views: 9.7ms | ActiveRecord: 1.1ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.3ms) ROLLBACK  (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-12 19:00:18', 1, 'blah', '2015-06-12 19:00:18') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:00:18 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 7159ms (Views: 29.1ms | ActiveRecord: 3.8ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:00:26', 1, 'blah', '2015-06-12 19:00:26') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:00:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6464ms (Views: 3.1ms | ActiveRecord: 0.9ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:00:32', 1, 'blah', '2015-06-12 19:00:32') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:00:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.0ms) Completed 200 OK in 20967ms (Views: 79.6ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 15:00:53 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 19:01:19', '2015-06-12 19:01:19') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 26376ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:01:19 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (7.5ms) Completed 200 OK in 1203ms (Views: 10.0ms | ActiveRecord: 1.1ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:06:58', 1, 'blah', '2015-06-12 19:06:58') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 15:06:58 -0400 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 Completed 500 Internal Server Error in 3ms  (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-12 19:07:09', 1, 'blah', '2015-06-12 19:07:09') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:07:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.4ms) Completed 200 OK in 68ms (Views: 46.5ms | ActiveRecord: 1.9ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 15:07:09 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-12 19:07:09', '2015-06-12 19:07:09') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:07:09 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (12.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:09:46', 1, 'blah', '2015-06-12 19:09:46') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:09:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.2ms) Completed 200 OK in 67ms (Views: 45.0ms | ActiveRecord: 2.4ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 15:09:46 -0400 Processing by Commenteux::NotesController#create as HTML 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 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-12 19:09:46', 'delivery_man', '2015-06-12 19:09:46') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:09:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 7ms (Views: 3.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.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:09:54', 1, 'blah', '2015-06-12 19:09:54') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:09:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 39ms (Views: 17.4ms | ActiveRecord: 2.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:09:54', 1, 'blah', '2015-06-12 19:09:54') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:09:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.5ms) 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-12 19:09:54', 1, 'blah', '2015-06-12 19:09:54') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:09:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.8ms) Completed 200 OK in 45ms (Views: 39.0ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 15:09:54 -0400 Processing by Commenteux::NotesController#create as HTML 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 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-12 19:09:54', 'delivery_man', '2015-06-12 19:09:54') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:09:54 -0400 Processing by Commenteux::NotesController#index as HTML 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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.8ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:10:13', 1, 'blah', '2015-06-12 19:10:13') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:10:13 -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 Completed 500 Internal Server Error in 3ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:10:13', 1, 'blah', '2015-06-12 19:10:13') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:10:13 -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 Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:10:13', 1, 'blah', '2015-06-12 19:10:13') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 15:10:13 -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 Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:10:56', 1, 'blah', '2015-06-12 19:10:56') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:10:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 33ms (Views: 13.7ms | ActiveRecord: 2.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:10:56', 1, 'blah', '2015-06-12 19:10:56') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:10:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:10:56', 1, 'blah', '2015-06-12 19:10:56') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 15:10:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.9ms) Completed 200 OK in 46ms (Views: 39.2ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 15:10:56 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 19:10:56', '2015-06-12 19:10:56') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 15:10:56 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.5ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.8ms) 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 Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 20ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.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 5ms (Views: 4.7ms | 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 500 Internal Server Error in 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.5ms | 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"}, "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"}, "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.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 ActiveRecord::SchemaMigration Load (0.2ms) 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#index as HTML Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 8ms (Views: 7.6ms | 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 Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 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.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"}, "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"}, "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.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.3ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"role"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (0.2ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "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.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) 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 Completed 302 Found in 1889ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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 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 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.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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 8ms (Views: 7.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 2ms (Views: 2.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  (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.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 5.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 2ms (Views: 1.5ms | 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 500 Internal Server Error in 1ms  (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  (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 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.9ms | 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.8ms | ActiveRecord: 0.0ms)  (0.2ms) 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  (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 1ms (Views: 1.3ms | 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#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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 10ms (Views: 9.3ms | 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 2ms (Views: 1.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 6ms (Views: 5.6ms | 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 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.1ms) BEGIN  (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 2ms (Views: 1.4ms | 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.7ms | 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: 5.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  (1.7ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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  (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 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.6ms | 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.7ms | 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.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#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.4ms | 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 2ms (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 5ms (Views: 4.9ms | 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  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:52:31', 1, 'blah', '2015-06-12 19:52:31') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:52:31 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 68ms (Views: 19.8ms | ActiveRecord: 25.5ms)  (6.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:52:32', 1, 'blah', '2015-06-12 19:52:32') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:52:32 -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/nickdemers/Documents/Projects/workspace/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.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:52:32', 1, 'blah', '2015-06-12 19:52:32') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 15:52:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (56.7ms) Completed 200 OK in 65ms (Views: 58.0ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 15:52:32 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 19:52:32', '2015-06-12 19:52:32') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 15:52:32 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.5ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (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-12 19:53:52', 1, 'blah', '2015-06-12 19:53:52') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:53:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 37ms (Views: 16.4ms | ActiveRecord: 2.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-12 19:53:52', 1, 'blah', '2015-06-12 19:53:52') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:53:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:53:52', 1, 'blah', '2015-06-12 19:53:52') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:53:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.8ms) Completed 200 OK in 51ms (Views: 44.1ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 15:53:52 -0400 Processing by Commenteux::NotesController#create as HTML 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 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-12 19:53:52', 'delivery_man', '2015-06-12 19:53:52') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 15:53:52 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 7ms (Views: 3.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.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:53:57', 1, 'blah', '2015-06-12 19:53:57') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:53:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 32ms (Views: 13.8ms | ActiveRecord: 2.3ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:53:57', 1, 'blah', '2015-06-12 19:53:57') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:53:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:53:57', 1, 'blah', '2015-06-12 19:53:57') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 15:53:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 500 Internal Server Error in 11ms  (6.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:56:16', 1, 'blah', '2015-06-12 19:56:16') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:56:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 15.3ms | ActiveRecord: 2.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:56:16', 1, 'blah', '2015-06-12 19:56:16') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 15:56:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 19:56:16', 1, 'blah', '2015-06-12 19:56:16') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 15:56:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 500 Internal Server Error in 10ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:00:40', 1, 'blah', '2015-06-12 20:00:40') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:00:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 35ms (Views: 16.7ms | ActiveRecord: 2.3ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:00:40', 1, 'blah', '2015-06-12 20:00:40') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:00:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:00:40', 1, 'blah', '2015-06-12 20:00:40') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:00:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.7ms) Completed 200 OK in 46ms (Views: 39.5ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:00:40 -0400  (5.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:05:14', 1, 'blah', '2015-06-12 20:05:14') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:05:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 34ms (Views: 15.6ms | ActiveRecord: 1.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:05:14', 1, 'blah', '2015-06-12 20:05:14') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:05:14 -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/nickdemers/Documents/Projects/workspace/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.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:05:14', 1, 'blah', '2015-06-12 20:05:14') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:05:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.8ms) Completed 200 OK in 47ms (Views: 41.3ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:05:14 -0400  (11.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-12 20:08:46', 1, 'blah', '2015-06-12 20:08:46') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:08:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 35ms (Views: 14.1ms | ActiveRecord: 2.4ms)  (0.3ms) 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-12 20:08:46', 1, 'blah', '2015-06-12 20:08:46') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:08:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.3ms) 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-12 20:08:46', 1, 'blah', '2015-06-12 20:08:46') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:08:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.8ms) Completed 200 OK in 49ms (Views: 43.1ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-12 16:08:46 -0400  (5.9ms) 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-12 20:08:59', 1, 'blah', '2015-06-12 20:08:59') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:08:59 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 34ms (Views: 13.4ms | ActiveRecord: 3.4ms)  (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-12 20:08:59', 1, 'blah', '2015-06-12 20:08:59') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:08:59 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.7ms) 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-12 20:08:59', 1, 'blah', '2015-06-12 20:08:59') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:08:59 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.3ms) Completed 200 OK in 47ms (Views: 40.7ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-12 16:09:00 -0400  (5.9ms) 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-12 20:13:11', 1, 'blah', '2015-06-12 20:13:11') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:13:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 35ms (Views: 14.3ms | ActiveRecord: 2.8ms)  (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-12 20:13:11', 1, 'blah', '2015-06-12 20:13:11') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:13:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:13:11', 1, 'blah', '2015-06-12 20:13:11') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:13: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.5ms) Completed 200 OK in 48ms (Views: 42.1ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-12 16:13:11 -0400  (6.0ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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.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#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)  (0.2ms) 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.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 6ms (Views: 5.6ms | 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 2ms (Views: 1.8ms | 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.9ms | 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 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:14:25', 1, 'blah', '2015-06-12 20:14:25') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:14: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 33ms (Views: 15.3ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:14:25', 1, 'blah', '2015-06-12 20:14:25') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:14:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:14:25', 1, 'blah', '2015-06-12 20:14:25') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:14:25 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.2ms) Completed 200 OK in 46ms (Views: 38.5ms | ActiveRecord: 0.7ms) Started POST "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:14:25 -0400  (6.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:15:45', 1, 'blah', '2015-06-12 20:15:45') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:15:45 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 32ms (Views: 13.7ms | ActiveRecord: 2.2ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:15:46', 1, 'blah', '2015-06-12 20:15:46') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:15:46 -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/nickdemers/Documents/Projects/workspace/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.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:15:46', 1, 'blah', '2015-06-12 20:15:46') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:15:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.2ms) Completed 200 OK in 45ms (Views: 38.6ms | ActiveRecord: 0.6ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-12 16:15:46 -0400 Processing by Commenteux::NotesController#create as HTML 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 SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 20:15:46', '2015-06-12 20:15:46') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-12 16:15:46 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.5ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:15:52', 1, 'blah', '2015-06-12 20:15:52') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:15:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 33ms (Views: 15.8ms | ActiveRecord: 1.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:15:52', 1, 'blah', '2015-06-12 20:15:52') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-12 16:15:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-12 20:15:52', 1, 'blah', '2015-06-12 20:15:52') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-12 16:15:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.8ms) Completed 200 OK in 48ms (Views: 42.2ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-12 16:15:52 -0400 Processing by Commenteux::NotesController#create as HTML 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 SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-12 20:15:52', '2015-06-12 20:15:52') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-12 16:15:52 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.5ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (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-12 20:15:57', 1, 'blah', '2015-06-12 20:15:57') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:15:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 13.7ms | ActiveRecord: 2.2ms)  (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-12 20:15:57', 1, 'blah', '2015-06-12 20:15:57') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:15:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.5ms) 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-12 20:15:57', 1, 'blah', '2015-06-12 20:15:57') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:15:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.7ms) Completed 200 OK in 48ms (Views: 41.2ms | ActiveRecord: 0.4ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 16:15:57 -0400 Processing by Commenteux::NotesController#create as HTML 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 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-12 20:15:57', 'delivery_man', '2015-06-12 20:15:57') Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:15:57 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (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-12 20:18:07', 1, 'blah', '2015-06-12 20:18:07') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:18:07 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 36ms (Views: 15.0ms | ActiveRecord: 2.3ms)  (0.5ms) 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-12 20:18:07', 1, 'blah', '2015-06-12 20:18:07') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:18: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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-12 20:18:07', 1, 'blah', '2015-06-12 20:18:07') Started GET "/commenteux/dummy_model/1/new?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 16:18: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.2ms) Completed 200 OK in 50ms (Views: 43.6ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-12 16:18:07 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man", "roles"=>"comments,delivery_man"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms  (5.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (23.9ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 00:36:20', 1, 'blah', '2015-06-13 00:36:20') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 20:36:20 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (19.6ms) 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 114ms (Views: 34.1ms | ActiveRecord: 48.2ms)  (11.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 01:07:19', 1, 'blah', '2015-06-13 01:07:19') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:07:19 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.6ms) Completed 200 OK in 77ms (Views: 24.0ms | ActiveRecord: 21.3ms)  (6.0ms) ROLLBACK  (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-13 01:09:00', 1, 'blah', '2015-06-13 01:09:00') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:09:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 36ms (Views: 15.6ms | ActiveRecord: 2.5ms)  (5.7ms) 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-13 01:13:42', 1, 'blah', '2015-06-13 01:13:42') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:13:42 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 13.7ms | ActiveRecord: 2.2ms)  (1.0ms) ROLLBACK  (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-13 01:17:35', 1, 'blah', '2015-06-13 01:17:35') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:17:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 33ms (Views: 13.3ms | ActiveRecord: 2.4ms)  (0.9ms) ROLLBACK  (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-13 01:31:05', 1, 'blah', '2015-06-13 01:31:05') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:31:05 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 35ms (Views: 14.2ms | ActiveRecord: 2.5ms)  (5.7ms) 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-13 01:38:34', 1, 'blah', '2015-06-13 01:38:34') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:38:34 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 34ms (Views: 13.9ms | ActiveRecord: 2.5ms)  (5.9ms) 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-13 01:45:35', 1, 'blah', '2015-06-13 01:45:35') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:45:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 38ms (Views: 13.4ms | ActiveRecord: 3.0ms)  (6.1ms) 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-13 01:50:51', 1, 'blah', '2015-06-13 01:50:51') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:50:51 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 33ms (Views: 13.4ms | ActiveRecord: 2.2ms)  (6.1ms) 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-13 01:51:11', 1, 'blah', '2015-06-13 01:51:11') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:51:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 13.9ms | ActiveRecord: 2.5ms)  (6.2ms) ROLLBACK  (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-13 01:51:24', 1, 'blah', '2015-06-13 01:51:24') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:51:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 35ms (Views: 13.4ms | ActiveRecord: 2.8ms)  (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-13 01:52:00', 1, 'blah', '2015-06-13 01:52:00') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:52:00 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 38ms (Views: 16.7ms | ActiveRecord: 2.6ms)  (6.1ms) 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-13 01:52:12', 1, 'blah', '2015-06-13 01:52:12') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:52:12 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 34ms (Views: 13.9ms | ActiveRecord: 2.4ms)  (5.9ms) 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-13 01:52:48', 1, 'blah', '2015-06-13 01:52:48') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:52:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 34ms (Views: 13.5ms | ActiveRecord: 2.7ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 01:59:47', 1, 'blah', '2015-06-13 01:59:47') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 21:59:47 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 5504ms (Views: 38.8ms | ActiveRecord: 3.7ms)  (5.9ms) ROLLBACK  (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-13 02:09:01', 1, 'blah', '2015-06-13 02:09:01') Started GET "/commenteux/dummy_model/1?roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-12 22:09:01 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 60ms (Views: 16.5ms | ActiveRecord: 19.7ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 02:11:14', 1, 'blah', '2015-06-13 02:11:14')  (0.3ms) COMMIT  (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'  (13.6ms) TRUNCATE TABLE `comments`;  (4.8ms) TRUNCATE TABLE `dummy_models`;  (6.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (1.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 02:12:22', 1, 'blah', '2015-06-13 02:12:22')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 22:12:25 -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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 48ms (Views: 15.0ms | ActiveRecord: 3.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-12 22:12:25 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-12 22:12:25 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (115.9ms) TRUNCATE TABLE `comments`;  (59.5ms) TRUNCATE TABLE `dummy_models`;  (65.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 02:14:48', 1, 'blah', '2015-06-13 02:14:48')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 22:14:50 -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.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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 5710ms (Views: 32.3ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-12 22:14:56 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-12 22:14:56 -0400  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (8.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (16.1ms) TRUNCATE TABLE `comments`;  (6.1ms) TRUNCATE TABLE `dummy_models`;  (4.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (1.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 02:15:34', 1, 'blah', '2015-06-13 02:15:34')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 22:15:36 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 3569ms (Views: 158.8ms | ActiveRecord: 4.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-12 22:15:39 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-12 22:15:39 -0400  (0.3ms) 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'  (18.9ms) TRUNCATE TABLE `comments`;  (4.1ms) TRUNCATE TABLE `dummy_models`;  (3.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-13 02:21:36', 1, 'blah', '2015-06-13 02:21:36')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-12 22:21:38 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 10021ms (Views: 141.4ms | ActiveRecord: 4.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-12 22:21:48 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-12 22:21:48 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (17.1ms) TRUNCATE TABLE `comments`;  (3.9ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (29.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:34:32', 1, 'blah', '2015-06-15 00:34:32')  (2.0ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:34:35 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (6.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (52.5ms) Completed 200 OK in 134ms (Views: 77.3ms | ActiveRecord: 25.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-14 20:34:35 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-14 20:34:35 -0400  (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'  (40.3ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.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-15 00:36:06', 1, 'blah', '2015-06-15 00:36:06')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:36:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (40.0ms) Completed 200 OK in 80ms (Views: 54.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-14 20:36:08 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-14 20:36:08 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:36: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.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-15 00:36:08', 'delivery_man', '2015-06-15 00:36:08')  (5.7ms) COMMIT Redirected to http://127.0.0.1:61237/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 11ms (ActiveRecord: 6.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:36: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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (5.5ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.8ms)  (0.1ms) 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'  (21.3ms) TRUNCATE TABLE `comments`;  (5.5ms) TRUNCATE TABLE `dummy_models`;  (4.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:38:59', 1, 'blah', '2015-06-15 00:38:59')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:39:01 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 45ms (Views: 17.1ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-14 20:39:01 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-14 20:39:01 -0400  (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'  (20.0ms) TRUNCATE TABLE `comments`;  (4.7ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:39:01', 1, 'blah', '2015-06-15 00:39:01')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:39:01 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (4.4ms) TRUNCATE TABLE `dummy_models`;  (4.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (1.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:39:04', 1, 'blah', '2015-06-15 00:39:04')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:39:04 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.5ms) Completed 200 OK in 45ms (Views: 39.3ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (65.3ms) TRUNCATE TABLE `comments`;  (48.3ms) TRUNCATE TABLE `dummy_models`;  (42.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (5.7ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:39:09', 1, 'blah', '2015-06-15 00:39:09')  (6.0ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:39:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:39: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.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.1ms) BEGIN SQL (1.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-15 00:39:10', 'delivery_man', '2015-06-15 00:39:10')  (0.2ms) COMMIT Redirected to http://127.0.0.1:61364/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 7ms (ActiveRecord: 1.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-14 20:39: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.4ms) TRUNCATE TABLE `comments`;  (4.5ms) TRUNCATE TABLE `dummy_models`;  (3.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:39:22', 1, 'blah', '2015-06-15 00:39:22') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-14 20:39:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 33ms (Views: 14.3ms | ActiveRecord: 2.3ms)  (5.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:39:22', 1, 'blah', '2015-06-15 00:39:22') Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-14 20:39:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-15 00:39:22', 1, 'blah', '2015-06-15 00:39:22') Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-14 20:39: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.4ms) Completed 200 OK in 49ms (Views: 42.9ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-14 20:39:22 -0400 Processing by Commenteux::NotesController#create as HTML 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 SQL (1.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-15 00:39:22', '2015-06-15 00:39:22') Redirected to http://www.example.com/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 6ms (ActiveRecord: 1.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-14 20:39:22 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (6.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (5.5ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 12ms (Views: 11.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.7ms | 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.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) 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 2ms (Views: 1.5ms | 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 5ms (Views: 5.0ms | 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 ActiveRecord::SchemaMigration Load (1.9ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) 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 13ms (Views: 12.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 3ms (Views: 2.7ms | 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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.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 2ms (Views: 1.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.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 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:30:18', 1, 'blah', '2015-06-16 12:30:18')  (6.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:30:21 -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 (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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 95ms (Views: 32.0ms | ActiveRecord: 35.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:30:21 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:30:21 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (23.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (6.5ms) TRUNCATE TABLE `comments`;  (4.1ms) TRUNCATE TABLE `dummy_models`;  (3.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 12:30:21', 1, 'blah', '2015-06-16 12:30:21')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:30:21 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.4ms) TRUNCATE TABLE `comments`;  (4.5ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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:30:24', 1, 'blah', '2015-06-16 12:30:24')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:30:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (61.9ms) Completed 200 OK in 69ms (Views: 63.7ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (75.6ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) 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 12:30:29', 1, 'blah', '2015-06-16 12:30:29')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:30:29 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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:30:29 -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 12:30:29', 'delivery_man', '2015-06-16 12:30:29')  (5.2ms) COMMIT Redirected to http://127.0.0.1:57289/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10ms (ActiveRecord: 5.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:30:29 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (33.6ms) Completed 200 OK in 43ms (Views: 39.0ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `comments`;  (3.2ms) 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 12:31:18', 1, 'blah', '2015-06-16 12:31:18')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:31:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 34ms (Views: 15.1ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:31:19 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:31:19 -0400  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.2ms) 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.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:31:20', 1, 'blah', '2015-06-16 12:31:20')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:31: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (5.3ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:31:22', 1, 'blah', '2015-06-16 12:31:22')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 08:31: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (36.6ms) Completed 200 OK in 44ms (Views: 37.8ms | ActiveRecord: 0.5ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:31: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.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 12:31:22', '2015-06-16 12:31:22')  (6.0ms) COMMIT Redirected to http://127.0.0.1:57581/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 12ms (ActiveRecord: 6.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:31:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (4.4ms) Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.4ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.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 12:42:58', 1, 'blah', '2015-06-16 12:42:58')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:43:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 40ms (Views: 16.2ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:43:00 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:43:00 -0400  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) 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'  (19.4ms) TRUNCATE TABLE `comments`;  (2.4ms) 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:43:00', 1, 'blah', '2015-06-16 12:43:00')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:43:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (3.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 12:43:02', 1, 'blah', '2015-06-16 12:43:02')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:43:02 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (44.2ms) Completed 200 OK in 51ms (Views: 45.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (48.1ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (3.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 12:43:08', 1, 'blah', '2015-06-16 12:43:08')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:43:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 3.8ms | 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:43: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.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:43:08', 'delivery_man', '2015-06-16 12:43:08')  (4.5ms) COMMIT Redirected to http://127.0.0.1:57877/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 5.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:43: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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (35.3ms) Completed 200 OK in 43ms (Views: 39.5ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:08', 1, 'blah', '2015-06-16 12:48:08')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (83.0ms) Completed 200 OK in 4326ms (Views: 248.0ms | ActiveRecord: 3.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:48:15 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:48:15 -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.9ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (4.7ms) 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 12:58:50', 1, 'blah', '2015-06-16 12:58:50')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:58:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 32ms (Views: 12.1ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:58:52 -0400 Started GET "/javascripts/javascripts/commenteux/application.js" for 127.0.0.1 at 2015-06-16 08:58:52 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (60.8ms) 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.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:58:52', 1, 'blah', '2015-06-16 12:58:52')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:58:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.7ms) Started GET "/javascripts/javascripts/commenteux/application.js" for 127.0.0.1 at 2015-06-16 08:58:52 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (3.2ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:58:55', 1, 'blah', '2015-06-16 12:58:55')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:58:55 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (52.4ms) Completed 200 OK in 63ms (Views: 55.7ms | ActiveRecord: 0.4ms) Started GET "/javascripts/javascripts/commenteux/application.js" for 127.0.0.1 at 2015-06-16 08:58:55 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (21.4ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.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 12:59:00', 1, 'blah', '2015-06-16 12:59:00')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.2ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.2ms) Started GET "/javascripts/javascripts/commenteux/application.js" for 127.0.0.1 at 2015-06-16 08:59:00 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:00 -0400 Processing by Commenteux::NotesController#create as HTML 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 12:59:00', 'delivery_man', '2015-06-16 12:59:00')  (5.0ms) COMMIT Redirected to http://127.0.0.1:58355/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10ms (ActiveRecord: 5.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 0.7ms) Started GET "/javascripts/javascripts/commenteux/application.js" for 127.0.0.1 at 2015-06-16 08:59:00 -0400 Comment Load (0.5ms) 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.9ms) TRUNCATE TABLE `comments`;  (4.4ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) 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 12:59:25', 1, 'blah', '2015-06-16 12:59:25')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:27 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 139ms (Views: 110.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:59:27 -0400 Started GET "/assets/commenteux/application.js" for 127.0.0.1 at 2015-06-16 08:59:27 -0400  (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'  (18.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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:59:27', 1, 'blah', '2015-06-16 12:59:27')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (3.3ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:59:29', 1, 'blah', '2015-06-16 12:59:29')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:29 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.1ms) Completed 200 OK in 47ms (Views: 40.4ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (43.1ms) TRUNCATE TABLE `comments`;  (3.8ms) TRUNCATE TABLE `dummy_models`;  (5.1ms) 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 12:59:35', 1, 'blah', '2015-06-16 12:59:35')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 7ms (Views: 4.4ms | 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:59:35 -0400 Processing by Commenteux::NotesController#create as HTML 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 12:59:35', 'delivery_man', '2015-06-16 12:59:35')  (0.3ms) COMMIT Redirected to http://127.0.0.1:58582/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 08:59:35 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.7ms) 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`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.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 13:00:07', 1, 'blah', '2015-06-16 13:00:07')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:00:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.1ms) Completed 200 OK in 75ms (Views: 45.8ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:00:09 -0400 Started GET "/commenteux/application.js" for 127.0.0.1 at 2015-06-16 09:00:09 -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'  (19.7ms) 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 13:03:30', 1, 'blah', '2015-06-16 13:03:30')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (36.5ms) Completed 200 OK in 82ms (Views: 57.0ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:03:32 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:03:32 -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'  (20.9ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 13:04:08', 1, 'blah', '2015-06-16 13:04:08')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:04:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.0ms) Completed 200 OK in 72ms (Views: 45.6ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:04:09 -0400 Started GET "/javascripts/javascripts/application.js" for 127.0.0.1 at 2015-06-16 09:04:09 -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'  (21.1ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 13:04:38', 1, 'blah', '2015-06-16 13:04:38')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:04: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.5ms) Completed 200 OK in 76ms (Views: 45.9ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:04:40 -0400 Started GET "/javascripts/application.js" for 127.0.0.1 at 2015-06-16 09:04:40 -0400  (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'  (20.1ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 13:05:27', 1, 'blah', '2015-06-16 13:05:27')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:05:28 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.5ms) Completed 200 OK in 68ms (Views: 42.8ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:05:28 -0400 Started GET "/assets/javascripts/application.js" for 127.0.0.1 at 2015-06-16 09:05:28 -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'  (20.6ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 13:08:38', 1, 'blah', '2015-06-16 13:08:38')  (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:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (79.2ms) Completed 200 OK in 3692ms (Views: 97.8ms | ActiveRecord: 3.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:08:44 -0400 Started GET "/assets/javascripts/application.js" for 127.0.0.1 at 2015-06-16 09:08:44 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:12:45 -0400 Processing by Commenteux::NotesController#create as HTML Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"comments"}, "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.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('', 1, 'DummyModel', '2015-06-16 13:12:46', '2015-06-16 13:12:46')  (0.4ms) COMMIT Redirected to http://127.0.0.1:59363/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 1573ms (ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:12:46 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (10.3ms) Completed 200 OK in 1238ms (Views: 13.4ms | ActiveRecord: 1.0ms) Started GET "/assets/javascripts/application.js" for 127.0.0.1 at 2015-06-16 09:12:48 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) 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.1ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:12:56', 1, 'blah', '2015-06-16 13:12:56')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:12:58 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (82.1ms) Completed 200 OK in 152ms (Views: 102.8ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:12:58 -0400 Started GET "/spec/dummy/app/assets/javascripts/application.js" for 127.0.0.1 at 2015-06-16 09:12:58 -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'  (21.0ms) TRUNCATE TABLE `comments`;  (4.1ms) TRUNCATE TABLE `dummy_models`;  (3.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:13:46', 1, 'blah', '2015-06-16 13:13: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:13: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (69.7ms) Completed 200 OK in 306ms (Views: 253.6ms | ActiveRecord: 6.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:13:48 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:13:48 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:32:11 -0400 Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:32:11 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"comments"}, "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  (0.3ms) BEGIN SQL (2.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('', 1, 'DummyModel', '2015-06-16 13:32:13', '2015-06-16 13:32:13')  (0.8ms) COMMIT Redirected to http://127.0.0.1:59517/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 2093ms (ActiveRecord: 4.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:32:13 -0400 Processing by Commenteux::NotesController#index as JS 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (8.2ms) Completed 200 OK in 52ms (Views: 14.8ms | ActiveRecord: 19.4ms)  (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'  (5.5ms) TRUNCATE TABLE `comments`;  (2.5ms) 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:46:04', 1, 'blah', '2015-06-16 13:46:04')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:46:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (74.0ms) Completed 200 OK in 265ms (Views: 215.6ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:46:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:46:07 -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 09:47:39 -0400 Processing by Commenteux::NotesController#index as HTML 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.4ms) Completed 200 OK in 21ms (Views: 6.6ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 09:47:39 -0400 Processing by Commenteux::NotesController#index as HTML 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 09:47:39 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 15ms (Views: 1.5ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 09:47:39 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 09:47:39 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.7ms) 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.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:47:47', 1, 'blah', '2015-06-16 13:47:47')  (6.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:47: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (81.0ms) Completed 200 OK in 323ms (Views: 280.0ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:47:49 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:47:49 -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 09:48:21 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms) Completed 200 OK in 23ms (Views: 6.5ms | ActiveRecord: 1.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) 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'  (21.2ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) 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:50:06', 1, 'blah', '2015-06-16 13:50:06')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:50:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (80.1ms) Completed 200 OK in 286ms (Views: 238.1ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:50:08 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:50:08 -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 09:52:06 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.7ms) 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 (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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.9ms) Completed 200 OK in 18013ms (Views: 9.4ms | ActiveRecord: 5.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 09:52:24 -0400 Processing by Commenteux::NotesController#index as HTML 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 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 2699ms (Views: 1.8ms | ActiveRecord: 5.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 09:52:27 -0400 Processing by Commenteux::NotesController#index as HTML 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 (1.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 (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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 1530ms (Views: 1.9ms | ActiveRecord: 5.7ms)  (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'  (21.0ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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:52:57', 1, 'blah', '2015-06-16 13:52:57')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:52:59 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 63ms (Views: 16.6ms | ActiveRecord: 19.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:52:59 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:52:59 -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'  (13.6ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.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 13:53:00', 1, 'blah', '2015-06-16 13:53:00')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:53:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.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 13:53:02', 1, 'blah', '2015-06-16 13:53:02')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:53:02 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (49.2ms) Completed 200 OK in 58ms (Views: 50.6ms | 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 09:53:02 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (4.0ms) TRUNCATE TABLE `dummy_models`;  (2.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 13:53:05', 1, 'blah', '2015-06-16 13:53:05')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:53:05 -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/nickdemers/Documents/Projects/workspace/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" for 127.0.0.1 at 2015-06-16 09:53:06 -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:53:06', 'delivery_man', '2015-06-16 13:53:06')  (4.5ms) COMMIT Redirected to http://127.0.0.1:60142/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 5.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:53:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:54:55', 1, 'blah', '2015-06-16 13:54:55')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:54:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (94.0ms) Completed 200 OK in 6554ms (Views: 130.5ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:55:03 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:55:03 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:55:45 -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.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) 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:55:50', 'delivery_man', '2015-06-16 13:55:50')  (6.0ms) COMMIT Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:00:31 -0400 Redirected to http://127.0.0.1:60370/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 311118ms (ActiveRecord: 8.9ms) 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 10:00:56 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (2607.7ms) BEGIN DummyModel Load (10.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:00:58', 'delivery_man', '2015-06-16 14:00:58') 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  (5.8ms) COMMIT Redirected to http://127.0.0.1:60370/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 6186ms (ActiveRecord: 2621.5ms) Comment Load (3.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (8.9ms) Completed 200 OK in 2648ms (Views: 15.6ms | ActiveRecord: 14.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:00:59 -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 (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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 1743ms (Views: 4.8ms | ActiveRecord: 2.1ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.4ms) TRUNCATE TABLE `comments`;  (2.3ms) 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:02:16', 1, 'blah', '2015-06-16 14:02:16')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:18 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (103.8ms) Completed 200 OK in 4869ms (Views: 138.5ms | ActiveRecord: 3.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:02:23 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:02:23 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:55 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:55 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:55 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02: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 (3.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"comments"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (1.8ms) BEGIN DummyModel Load (18.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (3723.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:03:02', 'delivery_man', '2015-06-16 14:03:02')  (0.4ms) COMMIT 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"}  (2380.3ms) BEGIN SQL (800.8ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:03:13', '2015-06-16 14:03:13') 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 (1966.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 DummyModel Load (497.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (2467.0ms) COMMIT Redirected to http://127.0.0.1:60445/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:03:20 -0400 Redirected to http://127.0.0.1:60445/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man  (5.3ms) BEGIN  (1.5ms) BEGIN Completed 302 Found in 27175ms (ActiveRecord: 3729.6ms) Completed 302 Found in 23663ms (ActiveRecord: 10618.7ms) SQL (9.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:03:23', 'delivery_man', '2015-06-16 14:03:23') SQL (4.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:03:23', 'delivery_man', '2015-06-16 14:03:23') Processing by Commenteux::NotesController#create as JS  (1.0ms) COMMIT Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:03:23 -0400 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:03:23 -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"}  (13.0ms) COMMIT Redirected to http://127.0.0.1:60445/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Processing by Commenteux::NotesController#index as JS DummyModel Load (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Redirected to http://127.0.0.1:60445/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10822ms (ActiveRecord: 2098.6ms) Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (1.8ms) BEGIN Completed 302 Found in 14685ms (ActiveRecord: 3581.7ms) Processing by Commenteux::NotesController#index as JS SQL (4.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:03:26', 'delivery_man', '2015-06-16 14:03:26') DummyModel Load (17.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:03:26 -0400  (923.3ms) COMMIT Comment Load (4.5ms) 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 (2.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Processing by Commenteux::NotesController#index as JS Redirected to http://127.0.0.1:60445/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 10:03:27 -0400 Comment Load (6.8ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 302 Found in 4074ms (ActiveRecord: 930.8ms) Comment Load (7.9ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (10.8ms) DummyModel Load (11.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Processing by Commenteux::NotesController#index as JS Completed 200 OK in 2343ms (Views: 735.1ms | ActiveRecord: 942.7ms) Comment Load (6.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 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:03:28 -0400 Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Comment Load (3.4ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Processing by Commenteux::NotesController#index as JS Completed 200 OK in 2627ms (Views: 921.6ms | ActiveRecord: 19.5ms) DummyModel Load (13.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (5.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 Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (4.0ms) Comment Load (9.3ms) 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 (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 200 OK in 2345ms (Views: 674.2ms | ActiveRecord: 25.4ms) Comment Load (6.2ms) 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 (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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 1634ms (Views: 11.7ms | ActiveRecord: 29.4ms) Comment Load (3.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.6ms) Completed 200 OK in 708ms (Views: 4.8ms | ActiveRecord: 7.8ms)  (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'  (20.8ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:04:39', 1, 'blah', '2015-06-16 14:04:39')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:04:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (83.5ms) Completed 200 OK in 3439ms (Views: 236.2ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:04:44 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:04:44 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:04: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 (5.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (2.1ms) 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 14:04:51', 'delivery_man', '2015-06-16 14:04:51')  (0.8ms) COMMIT Redirected to http://127.0.0.1:60518/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 11520ms (ActiveRecord: 8.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:04: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.6ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (10.6ms) Completed 200 OK in 7395ms (Views: 18.7ms | ActiveRecord: 4.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.8ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.3ms) 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:09:47', 1, 'blah', '2015-06-16 14:09:47')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:09:49 -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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 48ms (Views: 19.5ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:09:49 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:09:49 -0400  (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'  (14.2ms) 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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:09:49', 1, 'blah', '2015-06-16 14:09:49')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:09:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 10:09:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (38.1ms) Completed 200 OK in 49ms (Views: 42.8ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (30.8ms) TRUNCATE TABLE `comments`;  (2.4ms) 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:09:49', 1, 'blah', '2015-06-16 14:09:49')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:09:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) 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:09:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.8ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (3.6ms) 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:09:53', 1, 'blah', '2015-06-16 14:09:53')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:09: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-16 10:09:53 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "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  (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:09:53', 'delivery_man', '2015-06-16 14:09:53')  (4.8ms) COMMIT Redirected to http://127.0.0.1:60589/commenteux/dummy_model/1?parent_div= Completed 302 Found in 10ms (ActiveRecord: 5.2ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-16 10:09:53 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"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 Completed 500 Internal Server Error in 1ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (4.4ms) 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:10:15', 1, 'blah', '2015-06-16 14:10:15')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:10:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 55ms (Views: 16.7ms | ActiveRecord: 18.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:10:16 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:10:16 -0400  (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'  (19.8ms) TRUNCATE TABLE `comments`;  (2.1ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:10:17', 1, 'blah', '2015-06-16 14:10:17')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:10:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:10:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (36.8ms) Completed 200 OK in 55ms (Views: 41.0ms | ActiveRecord: 6.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) 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:10:17', 1, 'blah', '2015-06-16 14:10:17')  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:10:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (10.2ms) Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-16 10:10:17 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "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', '2015-06-16 14:10:17', '2015-06-16 14:10:17')  (0.4ms) COMMIT Redirected to http://127.0.0.1:60773/commenteux/dummy_no_role_model/1?parent_div= Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=" for 127.0.0.1 at 2015-06-16 10:10:17 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) 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:18:16', 1, 'blah', '2015-06-16 14:18:16')  (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:18 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (95.1ms) Completed 200 OK in 2964ms (Views: 130.1ms | ActiveRecord: 3.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:18:22 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:18:22 -0400  (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'  (4.6ms) 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 14:21:44', 1, 'blah', '2015-06-16 14:21:44')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?parent_div=ajax_target&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:46 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"ajax_target", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (87.6ms) Completed 200 OK in 5572ms (Views: 121.2ms | ActiveRecord: 2.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:21:52 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:21:52 -0400 Started POST "/commenteux/dummy_model/1?parent_div=ajax_target" for 127.0.0.1 at 2015-06-16 10:22:06 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"ajax_target", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (5.9ms) 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', '2015-06-16 14:22:08', 'delivery_man', '2015-06-16 14:22:08')  (6.0ms) COMMIT Redirected to http://127.0.0.1:61010/commenteux/dummy_model/1?parent_div=ajax_target Completed 302 Found in 2318ms (ActiveRecord: 13.0ms) Started GET "/commenteux/dummy_model/1?parent_div=ajax_target" for 127.0.0.1 at 2015-06-16 10:22:09 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"ajax_target", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 1525ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (43.2ms) TRUNCATE TABLE `comments`;  (3.5ms) 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 14:25:49', 1, 'blah', '2015-06-16 14:25:49')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?parent_div=ajax_target&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:25:52 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"ajax_target", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (99.9ms) Completed 200 OK in 11868ms (Views: 165.5ms | ActiveRecord: 3.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:26:04 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:26:04 -0400 Started POST "/commenteux/dummy_model/1?parent_div=ajax_target" for 127.0.0.1 at 2015-06-16 10:26:06 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"ajax_target", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (6.5ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.8ms) 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 14:26:11', 'delivery_man', '2015-06-16 14:26:11')  (0.9ms) COMMIT Redirected to http://127.0.0.1:61142/commenteux/dummy_model/1?parent_div=ajax_target Completed 302 Found in 22702ms (ActiveRecord: 9.9ms) Started GET "/commenteux/dummy_model/1?parent_div=ajax_target" for 127.0.0.1 at 2015-06-16 10:26:29 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"ajax_target", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 29395ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.5ms) TRUNCATE TABLE `comments`;  (3.4ms) 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 14:28:56', 1, 'blah', '2015-06-16 14:28:56')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?parent_div=ajax_target&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:58 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"ajax_target", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (88.2ms) Completed 200 OK in 6084ms (Views: 121.0ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:29:04 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:04 -0400 Started POST "/commenteux/dummy_model/1?parent_div=ajax_target" for 127.0.0.1 at 2015-06-16 10:29:06 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"ajax_target", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.0ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.6ms) BEGIN SQL (1.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:29:09', 'delivery_man', '2015-06-16 14:29:09')  (12.0ms) COMMIT Redirected to http://127.0.0.1:61216/commenteux/dummy_model/1?parent_div=ajax_target Completed 302 Found in 42132ms (ActiveRecord: 15.1ms) Started GET "/commenteux/dummy_model/1?parent_div=ajax_target" for 127.0.0.1 at 2015-06-16 10:29:48 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"ajax_target", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.9ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 1798ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (1.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (3.6ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.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 14:30:28', 1, 'blah', '2015-06-16 14:30:28')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?parent_div=ajax_target&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:30 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"ajax_target", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (100.7ms) Completed 200 OK in 7851ms (Views: 182.0ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:30:38 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:30:38 -0400 Started POST "/commenteux/dummy_model/1?parent_div=ajax_target&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:40 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"ajax_target", "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  (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 14:30:43', 'delivery_man', '2015-06-16 14:30:43')  (10.9ms) COMMIT Redirected to http://127.0.0.1:61291/commenteux/dummy_model/1?parent_div=ajax_target&roles=comments,delivery_man Completed 302 Found in 12426ms (ActiveRecord: 18.2ms) Started GET "/commenteux/dummy_model/1?parent_div=ajax_target&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:53 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"ajax_target", "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 (3.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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (11.1ms) Completed 200 OK in 16536ms (Views: 19.7ms | ActiveRecord: 4.6ms)  (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'  (9.3ms) TRUNCATE TABLE `comments`;  (2.6ms) 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:37:48', 1, 'blah', '2015-06-16 14:37:48')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:37: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 135ms (Views: 111.7ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:37:50 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:37:50 -0400  (0.1ms) 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.2ms) TRUNCATE TABLE `comments`;  (2.3ms) 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:37:50', 1, 'blah', '2015-06-16 14:37:50')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:37: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (3.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:37:53', 1, 'blah', '2015-06-16 14:37:53')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:37:53 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 500 Internal Server Error in 10ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (4.5ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) 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:37:55', 1, 'blah', '2015-06-16 14:37: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:37: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.0ms) Completed 500 Internal Server Error in 21ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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:37:57', 1, 'blah', '2015-06-16 14:37:57')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:37:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 11.9ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:37:57 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) 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:37:57', 1, 'blah', '2015-06-16 14:37:57')  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:37:57 -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/nickdemers/Documents/Projects/workspace/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:37:57 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (4.4ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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:38:00', 1, 'blah', '2015-06-16 14:38:00')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:38:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.8ms) Completed 500 Internal Server Error in 3ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) 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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:38:15', 1, 'blah', '2015-06-16 14:38:15')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:38:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 42ms (Views: 15.0ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:38:17 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:38:17 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.2ms) TRUNCATE TABLE `comments`;  (2.3ms) 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:38:17', 1, 'blah', '2015-06-16 14:38:17')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:38:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.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:38:19', 1, 'blah', '2015-06-16 14:38:19')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:38:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.0ms) Completed 500 Internal Server Error in 8ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `comments`;  (3.8ms) TRUNCATE TABLE `dummy_models`;  (3.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:38:22', 1, 'blah', '2015-06-16 14:38: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:38:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.1ms) Completed 500 Internal Server Error in 23ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) 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:39:37', 1, 'blah', '2015-06-16 14:39:37')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:39:39 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 53ms (Views: 27.5ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:39:39 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:39:39 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.7ms) TRUNCATE TABLE `comments`;  (2.5ms) 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:39:39', 1, 'blah', '2015-06-16 14:39:39')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:39:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `comments`;  (2.7ms) 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:39:41', 1, 'blah', '2015-06-16 14:39:41')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:39: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (9.3ms) Completed 500 Internal Server Error in 16ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.4ms) TRUNCATE TABLE `comments`;  (3.8ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:39:44', 1, 'blah', '2015-06-16 14:39: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:39:44 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.1ms) Completed 500 Internal Server Error in 22ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (4.1ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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 14:39:59', 1, 'blah', '2015-06-16 14:39:59')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:40:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 46ms (Views: 19.4ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:40:00 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:40:00 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (12.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (9.0ms) TRUNCATE TABLE `comments`;  (2.4ms) 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:40:00', 1, 'blah', '2015-06-16 14:40:00')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:40:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) 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:40:03', 1, 'blah', '2015-06-16 14:40:03')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:40:03 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.8ms) Completed 200 OK in 52ms (Views: 45.3ms | 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:40:03 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `comments`;  (3.2ms) 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:40:03', 1, 'blah', '2015-06-16 14:40:03')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:40:03 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:40:03 -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.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:40:03', 'delivery_man', '2015-06-16 14:40:03')  (4.7ms) COMMIT Redirected to http://127.0.0.1:62243/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10ms (ActiveRecord: 5.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:40:03 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.6ms) 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  (22.2ms) 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:40:04', 1, 'blah', '2015-06-16 14:40:04')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:40:04 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) 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:40:04', 1, 'blah', '2015-06-16 14:40:04')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:40:04 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `comments`;  (3.3ms) 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:40:06', 1, 'blah', '2015-06-16 14:40:06')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:40:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:40:06 -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:40:06', '2015-06-16 14:40:06')  (0.3ms) COMMIT Redirected to http://127.0.0.1:62243/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:40:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms) Comment Load (0.4ms) 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.9ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) 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#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) 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 Processing by Commenteux::NotesController#new 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  (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#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.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 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 5ms (Views: 4.4ms | 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  (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.3ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:50:28', 1, 'blah', '2015-06-16 14:50:28')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:50:30 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (84.7ms) Completed 200 OK in 2662ms (Views: 116.8ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:50:33 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:50:33 -0400 Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-16 10:50:35 -0400 Processing by Commenteux::NotesController#create as JS Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.7ms) 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 14:50:40', 'delivery_man', '2015-06-16 14:50:40')  (6.3ms) COMMIT 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.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 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.8ms | 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.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.7ms | 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.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#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.2ms) 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 SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:52:44', 1, 'blah', '2015-06-16 14:52:44') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:52:44', 1, 'blah', '2015-06-16 14:52:44')  (0.2ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) 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'  (32.9ms) TRUNCATE TABLE `comments`;  (10.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:52:46', 1, 'blah', '2015-06-16 14:52:46')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:52:46 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 47ms (Views: 19.8ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:52:46 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:52:46 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (4.0ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:52:48', 1, 'blah', '2015-06-16 14:52:48')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:52:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (41.2ms) Completed 200 OK in 48ms (Views: 42.7ms | ActiveRecord: 0.3ms) 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:52:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (2.3ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:52:49', 1, 'blah', '2015-06-16 14:52:49')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:52:49 -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/nickdemers/Documents/Projects/workspace/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 10:52:49 -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:52:49', 'delivery_man', '2015-06-16 14:52:49')  (4.8ms) COMMIT Redirected to http://127.0.0.1:62565/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 5.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:52:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.6ms) Comment Load (0.5ms) 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.3ms) TRUNCATE TABLE `comments`;  (4.0ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) 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:52:49', 1, 'blah', '2015-06-16 14:52:49')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:52:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (2.3ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:52:49', 1, 'blah', '2015-06-16 14:52:49')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:52:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.2ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) 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:52:52', 1, 'blah', '2015-06-16 14:52:52')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:52:52 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:52:52 -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:52:52', '2015-06-16 14:52:52')  (4.5ms) COMMIT Redirected to http://127.0.0.1:62565/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 8ms (ActiveRecord: 4.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:52:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.4ms) Comment Load (0.4ms) 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.0ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (3.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Redirected to http://127.0.0.1:62519/commenteux/dummy_model/1?parent_div= Completed 302 Found in 140588ms (ActiveRecord: 9.8ms) Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-16 10:52:56 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (0.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 404 Not Found in 2006ms  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:53:04', 1, 'blah', '2015-06-16 14:53:04')  (0.4ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) 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'  (12.5ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.3ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:53:05 -0400 Processing by Commenteux::NotesController#index 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 Completed 404 Not Found in 5ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.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:53:08', 1, 'blah', '2015-06-16 14:53:08')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:53: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 48ms (Views: 19.5ms | ActiveRecord: 8.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:53:08 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:53:08 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) 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 14:53:10', 1, 'blah', '2015-06-16 14:53:10')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:53: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (38.0ms) Completed 200 OK in 47ms (Views: 39.5ms | ActiveRecord: 0.3ms) 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:53:10 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `comments`;  (2.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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:53:10', 1, 'blah', '2015-06-16 14:53:10')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:53: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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:53: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 (0.4ms) 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:53:11', 'delivery_man', '2015-06-16 14:53:11')  (4.4ms) COMMIT Redirected to http://127.0.0.1:62809/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10ms (ActiveRecord: 5.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:53:11 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 38ms (Views: 7.8ms | ActiveRecord: 2.0ms) 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.2ms) TRUNCATE TABLE `comments`;  (3.3ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:53:11', 1, 'blah', '2015-06-16 14:53:11')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:53:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (2.6ms) 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:53:11', 1, 'blah', '2015-06-16 14:53:11')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:53:11 -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/nickdemers/Documents/Projects/workspace/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.7ms) TRUNCATE TABLE `comments`;  (3.9ms) TRUNCATE TABLE `dummy_models`;  (3.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:53:13', 1, 'blah', '2015-06-16 14:53:13')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:53:13 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:53:13 -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:53:13', '2015-06-16 14:53:13')  (5.0ms) COMMIT Redirected to http://127.0.0.1:62809/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 8ms (ActiveRecord: 5.4ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:53:13 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.5ms) Comment Load (0.6ms) 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.1ms) TRUNCATE TABLE `comments`;  (4.7ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:56:59', 1, 'blah', '2015-06-16 14:56:59')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:57:01 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 58ms (Views: 17.7ms | ActiveRecord: 11.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:57:01 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:57:01 -0400  (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.4ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.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:57:11', 1, 'blah', '2015-06-16 14:57:11')  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:57:13 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 57ms (Views: 16.9ms | ActiveRecord: 18.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:57:13 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:57:13 -0400  (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'  (20.7ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.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:57:13', 1, 'blah', '2015-06-16 14:57:13')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:57:13 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.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:57:15', 1, 'blah', '2015-06-16 14:57:15')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:57:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.4ms) Completed 200 OK in 68ms (Views: 40.7ms | ActiveRecord: 18.5ms) 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:57:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (3.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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:57:16', 1, 'blah', '2015-06-16 14:57:16')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:57: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) 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 10:57: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.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:57:16', 'delivery_man', '2015-06-16 14:57:16')  (4.3ms) COMMIT Redirected to http://127.0.0.1:63198/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 4.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:57:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 11ms (Views: 7.5ms | 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  (27.3ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) 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:57:16', 1, 'blah', '2015-06-16 14:57:16')  (0.6ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:57:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (2.5ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:57:16', 1, 'blah', '2015-06-16 14:57:16')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:57:16 -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/nickdemers/Documents/Projects/workspace/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  (28.2ms) TRUNCATE TABLE `comments`;  (3.0ms) 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:57:19', 1, 'blah', '2015-06-16 14:57:19')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:57:19 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:57:19 -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:57:19', '2015-06-16 14:57:19')  (0.4ms) COMMIT Redirected to http://127.0.0.1:63198/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:57:19 -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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms) 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.9ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) 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 15:18:15', 1, 'blah', '2015-06-16 15:18:15')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 11:18:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 46ms (Views: 21.7ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 11:18:17 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 11:18:17 -0400  (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'  (19.1ms) TRUNCATE TABLE `comments`;  (2.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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 15:18:17', 1, 'blah', '2015-06-16 15:18:17')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 11:18:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (49.8ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) 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 15:18:20', 1, 'blah', '2015-06-16 15:18:20')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 11:18:20 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (49.2ms) Completed 200 OK in 58ms (Views: 50.8ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:18:20 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.9ms) Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (4.4ms) TRUNCATE TABLE `dummy_models`;  (3.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) 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 15:18:20', 1, 'blah', '2015-06-16 15:18:20')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 11:18:20 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:18:20 -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.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 15:18:20', '2015-06-16 15:18:20')  (0.3ms) COMMIT Redirected to http://127.0.0.1:63537/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:18:20 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 9ms (Views: 7.4ms | 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.0ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 11:22:30 -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 Completed 404 Not Found in 10ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.5ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 11:22:42 -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 Completed 404 Not Found in 30ms  (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'  (22.6ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (3.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) 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 15:23:02', 1, 'blah', '2015-06-16 15:23:02')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 11:23:03 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.6ms) Completed 200 OK in 74ms (Views: 49.4ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 11:23:03 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 11:23:03 -0400 Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:23:03 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.4ms)  (0.1ms) 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'  (22.0ms) 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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 15:29:40', 1, 'blah', '2015-06-16 15:29:40')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 11:29:42 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (38.8ms) Completed 200 OK in 199ms (Views: 154.8ms | ActiveRecord: 19.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 11:29:42 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 11:29:42 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 11:29: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.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 15:29:43', 'delivery_man', '2015-06-16 15:29:43')  (0.3ms) COMMIT Redirected to http://127.0.0.1:63951/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 11:29: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.9ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.6ms) Comment Load (1.6ms) 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  (0.1ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.3ms) TRUNCATE TABLE `comments`;  (2.6ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 15:32:35', 1, 'blah', '2015-06-16 15:32:35')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 11:32:37 -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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 38ms (Views: 17.7ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 11:32:37 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 11:32:37 -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'  (19.2ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) 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 15:32:38', 1, 'blah', '2015-06-16 15:32:38')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 11:32:38 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 15:32:40', 1, 'blah', '2015-06-16 15:32:40')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 11:32:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (48.4ms) Completed 200 OK in 78ms (Views: 50.4ms | ActiveRecord: 18.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:32:40 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 15:32:40', 1, 'blah', '2015-06-16 15:32:40')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 11:32:40 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:32:41 -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 15:32:41', '2015-06-16 15:32:41')  (0.2ms) COMMIT Redirected to http://127.0.0.1:64014/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 11:32:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.5ms) 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.6ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.2ms) 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 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.2ms) 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.2ms | 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.7ms | 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.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#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.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 `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:24:09', 1, 'blah', '2015-06-16 18:24:09')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:24:11 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 158ms (Views: 126.1ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:24:11 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:24:11 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.3ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 18:24:11', 1, 'blah', '2015-06-16 18:24:11')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:24:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:24:11 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.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 18:24:14', 1, 'blah', '2015-06-16 18:24:14')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:24:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.4ms) Completed 200 OK in 44ms (Views: 37.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:24:14 -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 14:24:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) 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 18:24:14', 1, 'blah', '2015-06-16 18:24:14')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:24:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) 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 14:24:14 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:24:14 -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.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 18:24:14', 'delivery_man', '2015-06-16 18:24:14')  (4.9ms) COMMIT Redirected to http://127.0.0.1:64850/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10ms (ActiveRecord: 5.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:24:14 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms) Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 0.7ms) 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`;  (3.1ms) 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 18:24:21', 1, 'blah', '2015-06-16 18:24:21')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 14:24:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 39ms (Views: 15.3ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:24:22 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:24:22 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.5ms) TRUNCATE TABLE `comments`;  (2.4ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:24:23', 1, 'blah', '2015-06-16 18:24:23')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 14:24:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `comments`;  (3.9ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) 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 18:24:25', 1, 'blah', '2015-06-16 18:24:25')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 14:24:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (45.2ms) Completed 200 OK in 77ms (Views: 47.0ms | ActiveRecord: 18.7ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:24:25 -0400 Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:24:25 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) 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 18:24:25', 1, 'blah', '2015-06-16 18:24:25')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 14:24:25 -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/nickdemers/Documents/Projects/workspace/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 "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:24:25 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:24:25 -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 18:24:25', '2015-06-16 18:24:25')  (0.5ms) COMMIT Redirected to http://127.0.0.1:64997/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 14:24:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms) Completed 200 OK in 10ms (Views: 8.1ms | 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.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) 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 18:27:13', 1, 'blah', '2015-06-16 18:27:13')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27:15 -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 (2.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 169ms (Views: 116.8ms | ActiveRecord: 19.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:27:15 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:27:15 -0400  (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'  (20.3ms) TRUNCATE TABLE `comments`;  (2.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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:27:15', 1, 'blah', '2015-06-16 18:27:15')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | 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 14:27:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (49.4ms) Completed 200 OK in 61ms (Views: 54.5ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (2.9ms) 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 18:27:16', 1, 'blah', '2015-06-16 18:27:16')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27: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/nickdemers/Documents/Projects/workspace/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=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 14:27:16 -0400 Processing by Commenteux::NotesController#index as HTML 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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:27:16', 1, 'blah', '2015-06-16 18:27:16')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) 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 14:27: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.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 18:27:16', 'delivery_man', '2015-06-16 18:27:16')  (4.5ms) COMMIT Redirected to http://127.0.0.1:65143/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 5.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (3.3ms) 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 18:27:42', 1, 'blah', '2015-06-16 18:27:42')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27:44 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (82.3ms) Completed 200 OK in 4742ms (Views: 114.8ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:27:49 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:27:49 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:27:52 -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.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 18:28:00', 'delivery_man', '2015-06-16 18:28:00')  (6.0ms) COMMIT Redirected to http://127.0.0.1:65335/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 8557ms (ActiveRecord: 13.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:28:00 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (34041.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (2.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:28:37 -0400 Comment Load (1.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 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 (11.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (13.2ms) Completed 200 OK in 38881ms (Views: 20.6ms | ActiveRecord: 34045.3ms)  (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 18:28:39', 'delivery_man', '2015-06-16 18:28:39')  (10.9ms) COMMIT Redirected to http://127.0.0.1:65335/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 2720ms (ActiveRecord: 41.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:28:39 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.2ms) 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.9ms) Completed 200 OK in 1096ms (Views: 3.3ms | ActiveRecord: 3.3ms)  (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'  (17.0ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:31:34', 1, 'blah', '2015-06-16 18:31:34')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:31:36 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (84.7ms) Completed 200 OK in 2815ms (Views: 118.5ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:31:39 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:31:39 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:31:40 -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.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (1.8ms) BEGIN SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 18:31:43', 'delivery_man', '2015-06-16 18:31:43')  (6.2ms) COMMIT Redirected to http://127.0.0.1:65411/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 2601ms (ActiveRecord: 9.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:32:36 -0400 Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:32: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"} Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:32:39 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:32:39 -0400 DummyModel Load (6.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 14:32:39 -0400  (6.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} SQL (1251.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 18:32:39', 'delivery_man', '2015-06-16 18:32:39') DummyModel Load (2.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (4.3ms) COMMIT Redirected to http://127.0.0.1:65411/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"} DummyModel Load (3.2ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (3.5ms) 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#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"} Comment Load (1289.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  (2.3ms) BEGIN Completed 302 Found in 6332ms (ActiveRecord: 1268.4ms) DummyModel Load (18.0ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 SQL (14.9ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 18:32:42', 'delivery_man', '2015-06-16 18:32:42') Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (13.3ms)  (0.6ms) 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"} Completed 200 OK in 4506ms (Views: 20.1ms | ActiveRecord: 2542.2ms)  (676.7ms) COMMIT Redirected to http://127.0.0.1:65411/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 14:32:43 -0400 SQL (660.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 18:32:42', 'delivery_man', '2015-06-16 18:32:42') Completed 302 Found in 3259ms (ActiveRecord: 1987.5ms) Processing by Commenteux::NotesController#index as JS  (4.2ms) COMMIT DummyModel Load (8.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://127.0.0.1:65411/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man  (0.2ms) BEGIN Completed 302 Found in 2788ms (ActiveRecord: 705.4ms) DummyModel Load (9.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 14:32:44 -0400 SQL (13.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 18:32:44', 'delivery_man', '2015-06-16 18:32:44') 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 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:32:45 -0400 Comment Load (715.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  (727.7ms) COMMIT Redirected to http://127.0.0.1:65411/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.3ms) DummyModel Load (1593.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 DummyModel Load (9.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 302 Found in 3803ms (ActiveRecord: 750.3ms) Completed 200 OK in 3131ms (Views: 4.6ms | ActiveRecord: 726.4ms) Comment Load (2.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 (7.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 (6.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.7ms) Completed 200 OK in 2336ms (Views: 4.2ms | ActiveRecord: 1608.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:32:46 -0400 Comment Load (14.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC Processing by Commenteux::NotesController#index as JS Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (8.9ms) Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1636ms (Views: 11.1ms | ActiveRecord: 34.8ms) DummyModel Load (1.7ms) 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 (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.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:34:02', 1, 'blah', '2015-06-16 18:34:02') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:34:02', 1, 'blah', '2015-06-16 18:34:02')  (0.2ms) ROLLBACK  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (16.0ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (1.9ms) 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 18:35:18', 1, 'blah', '2015-06-16 18:35:18')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:35:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (85.7ms) Completed 200 OK in 3466ms (Views: 229.6ms | ActiveRecord: 3.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:35:23 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:35:23 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:35:31 -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.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.2ms) 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 18:35:43', 'delivery_man', '2015-06-16 18:35:43')  (6.1ms) COMMIT Redirected to http://127.0.0.1:65519/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 11673ms (ActiveRecord: 13.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:35: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.8ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Comment Load (1.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 (0.8ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (8.7ms) Completed 200 OK in 1497ms (Views: 14.8ms | ActiveRecord: 3.3ms) Comment Load (0.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (15.6ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) 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 18:36:05', 1, 'blah', '2015-06-16 18:36:05')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 14:36:07 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 38ms (Views: 17.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:36:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:36:07 -0400  (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'  (19.0ms) TRUNCATE TABLE `comments`;  (2.6ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:36:07', 1, 'blah', '2015-06-16 18:36:07')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 14:36:07 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:36:07 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (37.8ms) Completed 200 OK in 48ms (Views: 41.9ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 18:36:08', 1, 'blah', '2015-06-16 18:36:08')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 14:36:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (8.6ms) Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:36:08 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.6ms)  (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.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 18:36:08', 1, 'blah', '2015-06-16 18:36:08')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 14:36:08 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:36:08 -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 18:36:08', '2015-06-16 18:36:08')  (0.2ms) COMMIT Redirected to http://127.0.0.1:49199/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:36:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 10ms (Views: 7.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.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (4.2ms) 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 18:36:22', 1, 'blah', '2015-06-16 18:36:22')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:36:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 40ms (Views: 15.7ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:36:23 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:36:23 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.1ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 18:36:24', 1, 'blah', '2015-06-16 18:36:24')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:36:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 14:36:24 -0400 Processing by Commenteux::NotesController#new 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (41.7ms) Completed 200 OK in 52ms (Views: 45.8ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (1.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 18:36:24', 1, 'blah', '2015-06-16 18:36:24')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:36:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.0ms) Completed 200 OK in 7ms (Views: 5.2ms | 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 14:36:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `comments`;  (3.3ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:36:24', 1, 'blah', '2015-06-16 18:36:24')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:36:24 -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/nickdemers/Documents/Projects/workspace/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" for 127.0.0.1 at 2015-06-16 14:36:25 -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 18:36:25', 'delivery_man', '2015-06-16 18:36:25')  (0.3ms) COMMIT Redirected to http://127.0.0.1:49305/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 14:36:25 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.9ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.9ms) Comment Load (1.1ms) 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.0ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 9ms (Views: 8.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: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (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"}, "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.2ms) 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 1ms (Views: 1.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 4ms (Views: 3.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  (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 `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:39:45', 1, 'blah', '2015-06-16 18:39:45')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:39:47 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 139ms (Views: 117.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:39:47 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:39:47 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.1ms) 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 18:39:47', 1, 'blah', '2015-06-16 18:39:47')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:39:47 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:39:47 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 14:39:48 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (48.9ms) Completed 200 OK in 59ms (Views: 52.9ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 18:39:48', 1, 'blah', '2015-06-16 18:39:48')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:39:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:39:48 -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 14:39:48 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 1.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) 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.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:39:48', 1, 'blah', '2015-06-16 18:39:48')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:39:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:39:48 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:39:48 -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 18:39:48', 'delivery_man', '2015-06-16 18:39:48')  (0.2ms) COMMIT Redirected to http://127.0.0.1:49438/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 14:39:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.7ms) Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 0.6ms) 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  (20.4ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 18:39:54', 1, 'blah', '2015-06-16 18:39:54')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 14:39:55 -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.4ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 55ms (Views: 17.3ms | ActiveRecord: 19.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 14:39:55 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 14:39:55 -0400  (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'  (19.2ms) 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.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:39:56', 1, 'blah', '2015-06-16 18:39:56')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 14:39:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:39:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (36.3ms) Completed 200 OK in 46ms (Views: 40.3ms | ActiveRecord: 0.6ms)  (0.2ms) 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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 18:39:56', 1, 'blah', '2015-06-16 18:39:56')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 14:39:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (8.1ms) Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:39:56 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (33.4ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) 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 18:39:56', 1, 'blah', '2015-06-16 18:39:56')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 14:39:56 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:39:57 -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 18:39:57', '2015-06-16 18:39:57')  (0.2ms) COMMIT Redirected to http://127.0.0.1:49558/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 14:39:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 10ms (Views: 7.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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.4ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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.2ms) 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.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.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 5ms (Views: 4.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.6ms | ActiveRecord: 0.0ms)  (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#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.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: 4.2ms | 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  (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.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 10ms (Views: 9.2ms | 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.8ms | ActiveRecord: 0.0ms)  (0.3ms) 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 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.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 1ms (Views: 1.3ms | 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.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.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 9ms (Views: 9.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 4ms (Views: 0.7ms | 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  (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.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.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.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#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.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.2ms) 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 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.2ms) 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.2ms | 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 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.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: 4.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: 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.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (0.3ms) Completed 200 OK in 14ms (Views: 13.2ms | 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 6ms (Views: 2.4ms | 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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.2ms | 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: 1.1ms | 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.2ms) 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 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.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.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 9ms (Views: 8.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 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 5ms (Views: 4.4ms | 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  (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.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.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 4ms (Views: 0.7ms | 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (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 Completed 302 Found in 2655ms (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"}, "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3612ms (Views: 11.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.2ms) 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 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (0.3ms) Completed 200 OK in 12ms (Views: 11.1ms | 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 6ms (Views: 2.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 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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 4ms (Views: 4.2ms | 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 2ms (Views: 1.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.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 `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 19:47:20', 1, 'blah', '2015-06-16 19:47:20')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:47:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 45ms (Views: 18.5ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 15:47:22 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 15:47:22 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (18.4ms) TRUNCATE TABLE `comments`;  (2.1ms) 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 19:47:22', 1, 'blah', '2015-06-16 19:47:22')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:47:22 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 15:47:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (37.1ms) Completed 200 OK in 48ms (Views: 41.1ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.4ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 19:47:23', 1, 'blah', '2015-06-16 19:47:23')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:47:23 -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/nickdemers/Documents/Projects/workspace/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=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 15:47:23 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) 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 19:47:23', 1, 'blah', '2015-06-16 19:47:23')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:47:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (4.3ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) 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 19:47:25', 1, 'blah', '2015-06-16 19:47:25')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 15:47: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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (4.4ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 19:47:25', 1, 'blah', '2015-06-16 19:47:25')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 15:47: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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:47:25 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.3ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `comments`;  (2.5ms) 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_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 19:47:26', 1, 'blah', '2015-06-16 19:47:26')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 15:47:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:47:26 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (29.0ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) 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 19:47:26', 1, 'blah', '2015-06-16 19:47:26')  (0.1ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 15:47:26 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:47:26 -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 19:47:26', '2015-06-16 19:47:26')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50268/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:47:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.4ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.0ms) 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 19:48:10', 1, 'blah', '2015-06-16 19:48:10')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48:12 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (31.6ms) Completed 200 OK in 81ms (Views: 46.0ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 15:48:12 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 15:48:12 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48:13 -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 19:48:13', 'delivery_man', '2015-06-16 19:48:13')  (0.4ms) COMMIT Redirected to http://127.0.0.1:50484/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 15:48:13 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms) Completed 200 OK in 11ms (Views: 7.1ms | 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  (0.1ms) SELECT DATABASE() as db  (7.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (21.9ms) TRUNCATE TABLE `comments`;  (3.7ms) 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 19:48:18', 1, 'blah', '2015-06-16 19:48:18')  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48:20 -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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 44ms (Views: 15.1ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 15:48:20 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 15:48:20 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.0ms) 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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 19:48:20', 1, 'blah', '2015-06-16 19:48:20')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48:20 -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/nickdemers/Documents/Projects/workspace/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 15:48:21 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (41.6ms) Completed 200 OK in 54ms (Views: 46.8ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) 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 19:48:21', 1, 'blah', '2015-06-16 19:48:21')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48:21 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 7ms (Views: 5.1ms | 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 15:48:21 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.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.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 19:48:21', 1, 'blah', '2015-06-16 19:48:21')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48:21 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 15:48: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 (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 19:48:21', 'delivery_man', '2015-06-16 19:48:21')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50539/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 15:48: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms) Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 0.6ms) 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.3ms) TRUNCATE TABLE `comments`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) 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 19:48:22', 1, 'blah', '2015-06-16 19:48:22')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 15:48:22 -0400 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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) 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 19:48:22', 1, 'blah', '2015-06-16 19:48:22')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 15:48:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:48:22 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"parent_div"=>"", "roles"=>"", "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `comments`;  (2.2ms) 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 19:48:22', 1, 'blah', '2015-06-16 19:48:22')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 15:48: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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:48:22 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) 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 19:48:22', 1, 'blah', '2015-06-16 19:48:22')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 15:48: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:48:23 -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 19:48:23', '2015-06-16 19:48:23')  (0.5ms) COMMIT Redirected to http://127.0.0.1:50539/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 15:48:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (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.4ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SQL (30.7ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 12:15:00', 1, 'blah', '2015-06-17 12:15:00')  (1.1ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-17 08:15:02 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (6.3ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (7.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.7ms) Completed 200 OK in 96ms (Views: 34.6ms | ActiveRecord: 32.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 08:15:03 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 08:15:03 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (5.2ms) SELECT DATABASE() as db  (7.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (16.0ms) TRUNCATE TABLE `comments`;  (7.2ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 12:15:03', 1, 'blah', '2015-06-17 12:15:03')  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-17 08:15:03 -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/nickdemers/Documents/Projects/workspace/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-17 08:15:03 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (49.2ms) Completed 200 OK in 61ms (Views: 54.1ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (3.9ms) TRUNCATE TABLE `dummy_models`;  (4.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-17 12:15:03', 1, 'blah', '2015-06-17 12:15:03')  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-17 08:15:03 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-17 08:15:03 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.9ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (6.4ms) TRUNCATE TABLE `dummy_models`;  (4.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-17 12:15:04', 1, 'blah', '2015-06-17 12:15:04')  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-17 08:15:04 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 08:15:04 -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.4ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-17 12:15:04', '2015-06-17 12:15:04')  (5.9ms) COMMIT Redirected to http://127.0.0.1:52533/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 11ms (ActiveRecord: 6.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 08:15:04 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (5.2ms) Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.5ms) Comment Load (0.4ms) 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  (21.1ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 12:15:11', 1, 'blah', '2015-06-17 12:15:11')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:15:13 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 50ms (Views: 19.0ms | ActiveRecord: 3.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 08:15:13 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 08:15:13 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (12.4ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.6ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 12:15:13', 1, 'blah', '2015-06-17 12:15:13')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:15:13 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 08:15:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (39.0ms) Completed 200 OK in 49ms (Views: 43.4ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 12:15:14', 1, 'blah', '2015-06-17 12:15:14')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:15:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 08:15:14 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.8ms) Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `comments`;  (4.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-17 12:15:14', 1, 'blah', '2015-06-17 12:15:14')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:15:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:15:14 -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-17 12:15:14', 'delivery_man', '2015-06-17 12:15:14')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52653/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-17 08:15:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 0.7ms) 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`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) 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-17 12:28:45', 1, 'blah', '2015-06-17 12:28:45')  (0.3ms) COMMIT  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.4ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) 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-17 12:30:36', 1, 'blah', '2015-06-17 12:30:36')  (0.3ms) COMMIT  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) SELECT DATABASE() as db  (6.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (16.6ms) TRUNCATE TABLE `comments`;  (3.9ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 12:31:30', 1, 'blah', '2015-06-17 12:31:30')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`created_at`, `updated_at`) VALUES ('2015-06-17 12:31:30', '2015-06-17 12:31:30')  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:31: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 (1.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 107ms (Views: 40.6ms | ActiveRecord: 3.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 08:31:31 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 08:31:31 -0400  (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.6ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) 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-17 12:33:17', 1, 'blah', '2015-06-17 12:33:17')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`created_at`, `updated_at`) VALUES ('2015-06-17 12:33:17', '2015-06-17 12:33:17')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:33:19 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.6ms) Completed 200 OK in 98ms (Views: 41.6ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 08:33:19 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 08:33:19 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (16.2ms) TRUNCATE TABLE `comments`;  (3.1ms) 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-17 12:37:18', 1, 'blah', '2015-06-17 12:37:18')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 12:37:18', '2015-06-17 12:37:18')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:37:20 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.8ms) Completed 200 OK in 102ms (Views: 43.4ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 08:37:20 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 08:37:20 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (10.0ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 12:39:04', 1, 'blah', '2015-06-17 12:39:04')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 12:39:04', '2015-06-17 12:39:04')  (0.4ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) 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'  (14.8ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) 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-17 12:39:23', 1, 'blah', '2015-06-17 12:39:23')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 12:39:23', '2015-06-17 12:39:23')  (0.7ms) COMMIT  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.1ms) TRUNCATE TABLE `comments`;  (2.4ms) 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-17 12:46:34', 1, 'blah', '2015-06-17 12:46:34')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 12:46:34', '2015-06-17 12:46:34')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 08:46:36 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 106ms (Views: 42.4ms | ActiveRecord: 4.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 08:46:36 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 08:46:36 -0400  (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'  (16.6ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) 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-17 13:16:44', 1, 'blah', '2015-06-17 13:16:44')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 13:16:44', '2015-06-17 13:16:44')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 09:16:47 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (10.6ms) Completed 500 Internal Server Error in 46ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.9ms) TRUNCATE TABLE `comments`;  (4.4ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 13:16:49', 1, 'blah', '2015-06-17 13:16:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 13:16:49', '2015-06-17 13:16:49')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 09:16:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (5.1ms) Completed 500 Internal Server Error in 9ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) 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-17 13:16:51', 1, 'blah', '2015-06-17 13:16:51')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 13:16:51', '2015-06-17 13:16:51')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 09:16:51 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.3ms) Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 09:16:51 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 09:16:51 -0400 Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 09:16:51 -0400 Processing by Commenteux::NotesController#index as HTML 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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (12.5ms) Completed 500 Internal Server Error in 21ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (3.7ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 13:16:52', 1, 'blah', '2015-06-17 13:16:52')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 13:16:52', '2015-06-17 13:16:52')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 09:16: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) 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-17 09:16:52 -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-17 13:16:52', 'delivery_man', '2015-06-17 13:16:52')  (0.3ms) COMMIT Redirected to http://127.0.0.1:53521/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-17 09:16:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (13.5ms) Completed 500 Internal Server Error in 21ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (1.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-17 14:52:07', 1, 'blah', '2015-06-17 14:52:07')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:52:07', '2015-06-17 14:52:07')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:52:10 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 47ms (Views: 17.7ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 10:52:10 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 10:52:10 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.2ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) 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-17 14:52:10', 1, 'blah', '2015-06-17 14:52:10')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:52:10', '2015-06-17 14:52:10')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:52:10 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 10:52:10 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (52.1ms) Completed 200 OK in 60ms (Views: 57.7ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.6ms) 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-17 14:52:10', 1, 'blah', '2015-06-17 14:52:10')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:52:10', '2015-06-17 14:52:10')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:52:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (7.1ms) Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 10:52:11 -0400 Processing by Commenteux::NotesController#index as HTML 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (4.4ms) 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-17 14:52:11', 1, 'blah', '2015-06-17 14:52:11')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:52:11', '2015-06-17 14:52:11')  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:52: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:52: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 (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', '2015-06-17 14:52:11', 'delivery_man', '2015-06-17 14:52:11')  (0.7ms) COMMIT Redirected to http://127.0.0.1:54871/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:52:11 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (11.0ms) Completed 500 Internal Server Error in 26ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `comments`;  (2.5ms) 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-17 14:59:16', 1, 'blah', '2015-06-17 14:59:16')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:59:16', '2015-06-17 14:59:16')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:59:18 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 45ms (Views: 20.7ms | ActiveRecord: 2.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 10:59:18 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 10:59:18 -0400  (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'  (19.1ms) TRUNCATE TABLE `comments`;  (3.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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 14:59:18', 1, 'blah', '2015-06-17 14:59:18')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:59:18', '2015-06-17 14:59:18')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:59:18 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 10:59:19 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (41.2ms) Completed 200 OK in 50ms (Views: 46.1ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) 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-17 14:59:19', 1, 'blah', '2015-06-17 14:59:19')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:59:19', '2015-06-17 14:59:19')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:59:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.0ms) Completed 200 OK in 9ms (Views: 6.4ms | 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-17 10:59:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (4.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-17 14:59:19', 1, 'blah', '2015-06-17 14:59:19')  (0.3ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 14:59:19', '2015-06-17 14:59:19')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:59:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:59:19 -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.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-17 14:59:19', 'delivery_man', '2015-06-17 14:59:19')  (0.5ms) COMMIT Redirected to http://127.0.0.1:55196/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 6ms (ActiveRecord: 1.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 10:59:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (7.1ms) Completed 500 Internal Server Error in 15ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.8ms) 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-17 15:00:41', 1, 'blah', '2015-06-17 15:00:41')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:00:41', '2015-06-17 15:00:41')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:00:42 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 42ms (Views: 14.9ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:00:42 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:00:42 -0400  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) 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.5ms) TRUNCATE TABLE `comments`;  (2.5ms) 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-17 15:00:43', 1, 'blah', '2015-06-17 15:00:43')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:00:43', '2015-06-17 15:00:43')  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:00:43 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:00:43 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (44.4ms) Completed 200 OK in 57ms (Views: 48.5ms | ActiveRecord: 5.1ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (2.1ms) 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-17 15:00:43', 1, 'blah', '2015-06-17 15:00:43')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:00:43', '2015-06-17 15:00:43')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:00: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.0ms) Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:00:43 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 13ms (Views: 7.0ms | ActiveRecord: 1.3ms)  (2.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `comments`;  (2.1ms) 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-17 15:00:44', 1, 'blah', '2015-06-17 15:00:44')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:00:44', '2015-06-17 15:00:44')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:00:44 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:00:44 -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-17 15:00:44', 'delivery_man', '2015-06-17 15:00:44')  (0.2ms) COMMIT Redirected to http://127.0.0.1:55393/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:00:44 -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.8ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (8.9ms) Completed 500 Internal Server Error in 20ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 15:05:43', 1, 'blah', '2015-06-17 15:05:43')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:05:43', '2015-06-17 15:05:43')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:05:45 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 41ms (Views: 16.1ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:05:45 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:05:45 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.8ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (4.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-17 15:05:45', 1, 'blah', '2015-06-17 15:05:45')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:05:45', '2015-06-17 15:05:45')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:05:45 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:05:46 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (56.1ms) Completed 200 OK in 67ms (Views: 60.3ms | ActiveRecord: 2.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (4.5ms) 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-17 15:05:46', 1, 'blah', '2015-06-17 15:05:46')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:05:46', '2015-06-17 15:05:46')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:05:46 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.9ms) Completed 200 OK in 13ms (Views: 7.5ms | ActiveRecord: 2.6ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:05:46 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.8ms) 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-17 15:05:46', 1, 'blah', '2015-06-17 15:05:46')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:05:46', '2015-06-17 15:05:46')  (0.8ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:05:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:05: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.4ms) 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-17 15:05:47', 'delivery_man', '2015-06-17 15:05:47')  (0.7ms) COMMIT Redirected to http://127.0.0.1:55660/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:05: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.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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms) Completed 500 Internal Server Error in 19ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 15:11:20', 1, 'blah', '2015-06-17 15:11:20')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:11:20', '2015-06-17 15:11:20')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:11:22 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 45ms (Views: 20.2ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:11:22 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:11:22 -0400  (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'  (19.8ms) TRUNCATE TABLE `comments`;  (3.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-17 15:11:23', 1, 'blah', '2015-06-17 15:11:23')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:11:23', '2015-06-17 15:11:23')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:11:23 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:11:23 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (35.4ms) Completed 200 OK in 42ms (Views: 39.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) 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) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:11:23', 1, 'blah', '2015-06-17 15:11:23')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:11:23', '2015-06-17 15:11:23')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:11:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:11:23 -0400 Processing by Commenteux::NotesController#index as HTML 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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (2.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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:11:23', 1, 'blah', '2015-06-17 15:11:23')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:11:23', '2015-06-17 15:11:23')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:11:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:11:24 -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-17 15:11:24', 'delivery_man', '2015-06-17 15:11:24')  (0.4ms) COMMIT Redirected to http://127.0.0.1:55866/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:11:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (8.5ms) Completed 500 Internal Server Error in 16ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.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-17 15:12:05', 1, 'blah', '2015-06-17 15:12:05')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:05', '2015-06-17 15:12:05')  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:07 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 44ms (Views: 16.5ms | ActiveRecord: 3.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:12:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:12:07 -0400 [35m (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'  (19.0ms) 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.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:12:07', 1, 'blah', '2015-06-17 15:12:07')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:07', '2015-06-17 15:12:07')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:12: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.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (36.0ms) Completed 200 OK in 44ms (Views: 40.4ms | ActiveRecord: 1.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) 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-17 15:12:08', 1, 'blah', '2015-06-17 15:12:08')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:08', '2015-06-17 15:12:08')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.7ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:12:08 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 1.0ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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-17 15:12:08', 1, 'blah', '2015-06-17 15:12:08')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:08', '2015-06-17 15:12:08')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12: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.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-17 15:12:08', 'delivery_man', '2015-06-17 15:12:08')  (4.9ms) COMMIT Redirected to http://127.0.0.1:56065/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 5.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12: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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.7ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.7ms) Comment Load (0.7ms) 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.4ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) 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-17 15:12:24', 1, 'blah', '2015-06-17 15:12:24')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:24', '2015-06-17 15:12:24')  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 45ms (Views: 19.8ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:12:25 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:12:25 -0400  (0.4ms) 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'  (19.1ms) 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_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:12:26', 1, 'blah', '2015-06-17 15:12:26')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:26', '2015-06-17 15:12:26')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:26 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:12:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (35.3ms) Completed 200 OK in 41ms (Views: 39.3ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.5ms) 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-17 15:12:26', 1, 'blah', '2015-06-17 15:12:26')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:26', '2015-06-17 15:12:26')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 8ms (Views: 5.2ms | 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-17 11:12:26 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.9ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) 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.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:12:26', 1, 'blah', '2015-06-17 15:12:26')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:12:26', '2015-06-17 15:12:26')  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:12:27 -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-17 15:12:27', 'delivery_man', '2015-06-17 15:12:27')  (0.2ms) COMMIT Redirected to http://127.0.0.1:56191/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-17 11:12:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.4ms) Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 0.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:17:49', '2015-06-17 15:17:49')  (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.3ms) BEGIN SQL (0.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:17:49', 1, 'blah', '2015-06-17 15:17:49') SQL (0.5ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:17:50' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:17:51 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (8956.3ms) Completed 200 OK in 12818ms (Views: 8998.7ms | ActiveRecord: 4.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:18:04 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:18:04 -0400  (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'  (9.5ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:22:11', '2015-06-17 15:22:11')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:22:11', 'delivery_man', '2015-06-17 15:22:11')  (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.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 15:22:11', 1, 'blah', '2015-06-17 15:22:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:11' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:11' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:22: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.2ms) Completed 200 OK in 33ms (Views: 19.2ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:22:14 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:22:14 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.7ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (24.9ms) TRUNCATE TABLE `comments`;  (4.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:22:14', '2015-06-17 15:22:14')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:22:14', 'delivery_man', '2015-06-17 15:22:14')  (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 ('2015-06-17 15:22:14', 1, 'blah', '2015-06-17 15:22:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:14' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:14' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:22:14 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:22:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (53.0ms) Completed 200 OK in 61ms (Views: 58.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:22:15', '2015-06-17 15:22:15')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:22:15', 'delivery_man', '2015-06-17 15:22:15')  (2.0ms) 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 ('2015-06-17 15:22:15', 1, 'blah', '2015-06-17 15:22:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:15' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:15' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:22:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.5ms) Completed 200 OK in 11ms (Views: 7.4ms | 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-17 11:22:15 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.7ms) Completed 200 OK in 15ms (Views: 7.9ms | ActiveRecord: 1.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:22:15', '2015-06-17 15:22:15')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:22:15', 'delivery_man', '2015-06-17 15:22:15')  (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 ('2015-06-17 15:22:15', 1, 'blah', '2015-06-17 15:22:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:15' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:22:15' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:22:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.3ms) Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:22: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.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', '2015-06-17 15:22:16', 'delivery_man', '2015-06-17 15:22:16')  (0.3ms) COMMIT Redirected to http://127.0.0.1:56407/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:22:16 -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 (1.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 (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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.4ms) Completed 200 OK in 16ms (Views: 9.5ms | ActiveRecord: 2.3ms) 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.7ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (4.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:25:03', '2015-06-17 15:25:03')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:25:03', 'delivery_man', '2015-06-17 15:25:03')  (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 ('2015-06-17 15:25:04', 1, 'blah', '2015-06-17 15:25:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:04' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:04' WHERE `comments`.`id` = 1  (5.8ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:25:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.7ms) Completed 200 OK in 38ms (Views: 27.5ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:25:06 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:25:06 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.0ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:25:06', '2015-06-17 15:25:06')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:25:06', 'delivery_man', '2015-06-17 15:25:06')  (0.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.2ms) SELECT `comments`.* FROM `comments` WHERE `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 ('2015-06-17 15:25:06', 1, 'blah', '2015-06-17 15:25:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:06' WHERE `comments`.`id` = 2 SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:06' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:25:06 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 11:25: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (40.2ms) Completed 200 OK in 47ms (Views: 44.5ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:25:07', '2015-06-17 15:25:07')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:25:07', 'delivery_man', '2015-06-17 15:25:07')  (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 ('2015-06-17 15:25:07', 1, 'blah', '2015-06-17 15:25:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:07' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:25: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (6.0ms) Completed 200 OK in 10ms (Views: 7.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-17 11:25: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.3ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.0ms) TRUNCATE TABLE `comments`;  (4.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 15:25:07', '2015-06-17 15:25:07')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 15:25:07', 'delivery_man', '2015-06-17 15:25:07')  (0.6ms) COMMIT 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 (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 ('2015-06-17 15:25:07', 1, 'blah', '2015-06-17 15:25:07') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 15:25:07' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:25:07 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.7ms) Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 11:25: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.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-17 15:25:08', 'delivery_man', '2015-06-17 15:25:08')  (0.2ms) COMMIT Redirected to http://127.0.0.1:56570/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-17 11:25: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 15ms (Views: 8.9ms | 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.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `comments`;  (2.2ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 15:25:14', '2015-06-17 15:25:14')  (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 ('2015-06-17 15:25:14', 1, 'blah', '2015-06-17 15:25:14') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 15:25:14' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-17 11:25:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.5ms) Completed 200 OK in 31ms (Views: 20.7ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 11:25:16 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 11:25:16 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (9.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.3ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 15:25:16', '2015-06-17 15:25:16')  (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 ('2015-06-17 15:25:16', 1, 'blah', '2015-06-17 15:25:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 15:25:16' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-17 11:25:16 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (4.2ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Comment Load (4.0ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 8.2ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 11:25:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (46.5ms) Completed 200 OK in 52ms (Views: 50.6ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `comments`;  (2.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 15:25:17', '2015-06-17 15:25:17')  (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 ('2015-06-17 15:25:17', 1, 'blah', '2015-06-17 15:25:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 15:25:17' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-17 11:25:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.2ms) Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-17 11:25:17 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.9ms) Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (4.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 15:25:17', '2015-06-17 15:25:17')  (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 ('2015-06-17 15:25:17', 1, 'blah', '2015-06-17 15:25:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 15:25:17' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-17 11:25:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 11:25:18 -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.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-17 15:25:18', '2015-06-17 15:25:18')  (0.3ms) COMMIT Redirected to http://127.0.0.1:56725/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 11:25:18 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"", "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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.8ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.9ms) Comment Load (0.4ms) 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  (24.8ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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: 6.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 1ms (Views: 0.8ms | 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.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.3ms | 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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.3ms | 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#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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 17:41:49', '2015-06-17 17:41:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 17:41:49', 'delivery_man', '2015-06-17 17:41:49')  (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 ('2015-06-17 17:41:49', 1, 'blah', '2015-06-17 17:41:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:49' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:49' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 13:41:51 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (5.3ms) Completed 200 OK in 33ms (Views: 18.5ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-17 13:41:51 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-17 13:41:51 -0400  (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`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 17:41:52', '2015-06-17 17:41:52')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 17:41:52', 'delivery_man', '2015-06-17 17:41:52')  (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 ('2015-06-17 17:41:52', 1, 'blah', '2015-06-17 17:41:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:52' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:52' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 13:41:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-17 13:41:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (35.9ms) Completed 200 OK in 42ms (Views: 40.2ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 17:41:52', '2015-06-17 17:41:52')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 17:41:52', 'delivery_man', '2015-06-17 17:41:52')  (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 ('2015-06-17 17:41:52', 1, 'blah', '2015-06-17 17:41:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:52' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41: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 2015-06-17 13:41:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 9ms (Views: 5.0ms | 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-17 13:41:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (19.5ms) TRUNCATE TABLE `comments`;  (1.9ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-17 17:41:52', '2015-06-17 17:41:52')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-17 17:41:52', 'delivery_man', '2015-06-17 17:41:52')  (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 ('2015-06-17 17:41:52', 1, 'blah', '2015-06-17 17:41:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:52' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-17 17:41:52' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-17 13:41: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.2ms) 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-17 13:41:53 -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-17 17:41:53', 'delivery_man', '2015-06-17 17:41:53')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57657/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-17 13:41:53 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.4ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.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  (26.7ms) 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.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 17:41:53', '2015-06-17 17:41:53')  (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 ('2015-06-17 17:41:53', 1, 'blah', '2015-06-17 17:41:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 17:41:53' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-17 13:41:53 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 17:41:53', '2015-06-17 17:41: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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 17:41:53', 1, 'blah', '2015-06-17 17:41:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 17:41:53' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-17 13:41:53 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"} DummyNoRoleModel Load (0.5ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 13:41:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.2ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 17:41:54', '2015-06-17 17:41:54')  (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 ('2015-06-17 17:41:54', 1, 'blah', '2015-06-17 17:41:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 17:41:54' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-17 13:41:54 -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/nickdemers/Documents/Projects/workspace/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 GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-17 13:41:54 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.8ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-17 17:41:54', '2015-06-17 17:41:54')  (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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-17 17:41:54', 1, 'blah', '2015-06-17 17:41:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-17 17:41:54' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-17 13:41:54 -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/nickdemers/Documents/Projects/workspace/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-17 13:41:54 -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-17 17:41:54', '2015-06-17 17:41:54')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57657/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-17 13:41:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.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  (25.7ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.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 4ms (Views: 0.7ms | 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.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  (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.5ms | 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 5ms (Views: 5.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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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  (0.1ms) ROLLBACK  (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 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"}, "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.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 11ms (Views: 10.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 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 5ms (Views: 4.8ms | 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.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: 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 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:57:04', '2015-06-18 18:57:04')  (5.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:57:04', 'delivery_man', '2015-06-18 18:57:04')  (11.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.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 ('2015-06-18 18:57:04', 1, 'blah', '2015-06-18 18:57:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:04' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:04' WHERE `comments`.`id` = 1  (6.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:57:07 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 73ms (Views: 36.4ms | ActiveRecord: 20.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 14:57:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 14:57:07 -0400  (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'  (13.7ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:57:08', '2015-06-18 18:57:08')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:57:08', 'delivery_man', '2015-06-18 18:57:08')  (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 ('2015-06-18 18:57:08', 1, 'blah', '2015-06-18 18:57:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:08' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:08' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:57:08 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-18 14:57:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (54.6ms) Completed 200 OK in 62ms (Views: 59.6ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:57:08', '2015-06-18 18:57:08')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:57:08', 'delivery_man', '2015-06-18 18:57:08')  (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 ('2015-06-18 18:57:08', 1, 'blah', '2015-06-18 18:57:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:08' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:08' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:57:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.2ms) Completed 200 OK in 8ms (Views: 5.6ms | 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-18 14:57:08 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (4.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:57:08', '2015-06-18 18:57:08')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:57:08', 'delivery_man', '2015-06-18 18:57:08')  (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 ('2015-06-18 18:57:08', 1, 'blah', '2015-06-18 18:57:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:08' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:57:08' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:57:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:57:09 -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-18 18:57:09', 'delivery_man', '2015-06-18 18:57:09')  (5.5ms) COMMIT Redirected to http://127.0.0.1:49773/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 10ms (ActiveRecord: 6.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:57:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 0.6ms) 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  (24.6ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:57:09', '2015-06-18 18:57:09')  (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 ('2015-06-18 18:57:09', 1, 'blah', '2015-06-18 18:57:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:57:09' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 14:57:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:57:09', '2015-06-18 18:57:09')  (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.5ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-18 18:57:09', 1, 'blah', '2015-06-18 18:57:09') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:57:09' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 14:57:10 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:57:10 -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 Completed 500 Internal Server Error in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:57:10', '2015-06-18 18:57:10')  (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 ('2015-06-18 18:57:10', 1, 'blah', '2015-06-18 18:57:10') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:57:10' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 14:57:10 -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/nickdemers/Documents/Projects/workspace/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 GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:57:11 -0400 Processing by Commenteux::NotesController#index 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 Completed 500 Internal Server Error in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:57:11', '2015-06-18 18:57:11')  (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 ('2015-06-18 18:57:11', 1, 'blah', '2015-06-18 18:57:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:57:11' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 14:57:11 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:57:11 -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-18 18:57:11', '2015-06-18 18:57:11')  (0.3ms) COMMIT Redirected to http://127.0.0.1:49773/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-18 14:57:11 -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 Completed 500 Internal Server Error in 1ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) 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.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:59:22', '2015-06-18 18:59:22')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:59:22', 'delivery_man', '2015-06-18 18:59:22')  (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 ('2015-06-18 18:59:22', 1, 'blah', '2015-06-18 18:59:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:22' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:59:24 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.4ms) Completed 200 OK in 40ms (Views: 22.2ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 14:59:24 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 14:59:24 -0400  (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'  (18.4ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:59:24', '2015-06-18 18:59:24')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:59:24', 'delivery_man', '2015-06-18 18:59:24')  (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 ('2015-06-18 18:59:24', 1, 'blah', '2015-06-18 18:59:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:24' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:24' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:59: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-18 14:59:25 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (33.3ms) Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:59:25', '2015-06-18 18:59:25')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:59:25', 'delivery_man', '2015-06-18 18:59:25')  (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 ('2015-06-18 18:59:25', 1, 'blah', '2015-06-18 18:59:25') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:25' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:25' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:59: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-18 14:59:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (19.4ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 18:59:25', '2015-06-18 18:59:25')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 18:59:25', 'delivery_man', '2015-06-18 18:59:25')  (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 ('2015-06-18 18:59:25', 1, 'blah', '2015-06-18 18:59:25') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:25' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 18:59:25' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:59:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 14:59:26 -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-18 18:59:26', 'delivery_man', '2015-06-18 18:59:26')  (0.4ms) COMMIT Redirected to http://127.0.0.1:50107/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-18 14:59:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.5ms) 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  (24.9ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:59:32', '2015-06-18 18:59:32')  (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 ('2015-06-18 18:59:32', 1, 'blah', '2015-06-18 18:59:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:59:32' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 14:59:33 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.5ms) Completed 200 OK in 28ms (Views: 20.5ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 14:59:33 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 14:59:33 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (18.4ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:59:34', '2015-06-18 18:59: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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-18 18:59:34', 1, 'blah', '2015-06-18 18:59:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:59:34' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 14:59: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:59:34 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"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 Completed 500 Internal Server Error in 4ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:59:35', '2015-06-18 18:59:35')  (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 ('2015-06-18 18:59:35', 1, 'blah', '2015-06-18 18:59:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:59:35' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 14:59:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (37.4ms) Completed 200 OK in 40ms (Views: 38.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:59:35 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 Completed 500 Internal Server Error in 1ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyModel', '2015-06-18 18:59:36', '2015-06-18 18:59:36')  (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 ('2015-06-18 18:59:36', 1, 'blah', '2015-06-18 18:59:36') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 18:59:36' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 14:59: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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:59: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-18 18:59:36', '2015-06-18 18:59:36')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50265/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 14:59: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 Completed 500 Internal Server Error in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (20.2ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:01:48', '2015-06-18 19:01:48')  (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 ('2015-06-18 19:01:48', 1, 'blah', '2015-06-18 19:01:48') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:01:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:01:50 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (5.7ms) Completed 200 OK in 29ms (Views: 22.0ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 15:01:50 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 15:01:50 -0400  (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'  (19.1ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:01:50', '2015-06-18 19:01:50')  (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 ('2015-06-18 19:01:50', 1, 'blah', '2015-06-18 19:01:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:01:50' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:01:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:01:51 -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 Completed 500 Internal Server Error in 4ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:01:51', '2015-06-18 19:01:51')  (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 ('2015-06-18 19:01:51', 1, 'blah', '2015-06-18 19:01:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:01:51' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:01:51 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.9ms) Completed 200 OK in 39ms (Views: 37.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:01:52 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 Completed 500 Internal Server Error in 2ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:01:52', '2015-06-18 19:01:52')  (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 ('2015-06-18 19:01:52', 1, 'blah', '2015-06-18 19:01:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:01:52' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:01:52 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:01:53 -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-18 19:01:53', '2015-06-18 19:01:53')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50458/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-18 15:01:53 -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 Completed 500 Internal Server Error in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:02:59', '2015-06-18 19:02:59')  (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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-18 19:02:59', 1, 'blah', '2015-06-18 19:02:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:02:59' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:03:00 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.0ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:03', '2015-06-18 19:03:03')  (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 ('2015-06-18 19:03:03', 1, 'blah', '2015-06-18 19:03:03') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:03' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:03:03 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:05', '2015-06-18 19:03:05')  (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 ('2015-06-18 19:03:05', 1, 'blah', '2015-06-18 19:03:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:05' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:03:05 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.0ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:07', '2015-06-18 19:03:07')  (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 ('2015-06-18 19:03:07', 1, 'blah', '2015-06-18 19:03:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:07' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:03:07 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.7ms) Completed 200 OK in 63ms (Views: 50.2ms | ActiveRecord: 8.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 15:03:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 15:03:07 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:07 -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-18 19:03:07', '2015-06-18 19:03:07')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50650/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:07 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.5ms) 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  (24.4ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (1.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:13', '2015-06-18 19:03:13')  (0.5ms) COMMIT Comment Load (0.5ms) 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 ('2015-06-18 19:03:13', 1, 'blah', '2015-06-18 19:03:13') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:13' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:03:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 29ms (Views: 21.0ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 15:03:14 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 15:03: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'  (18.2ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:15', '2015-06-18 19:03:15')  (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 ('2015-06-18 19:03:15', 1, 'blah', '2015-06-18 19:03:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:15' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:03:15 -0400 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.2ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:15 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (34.7ms) Completed 200 OK in 41ms (Views: 38.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:15', '2015-06-18 19:03:15')  (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 ('2015-06-18 19:03:15', 1, 'blah', '2015-06-18 19:03:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:15' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:03:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 12ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:15 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:16', '2015-06-18 19:03:16')  (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 ('2015-06-18 19:03:16', 1, 'blah', '2015-06-18 19:03:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:16' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:03:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:16 -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-18 19:03:16', '2015-06-18 19:03:16')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50985/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:16 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.9ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 19:03:23', '2015-06-18 19:03:23')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 19:03:23', 'delivery_man', '2015-06-18 19:03:23')  (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 ('2015-06-18 19:03:23', 1, 'blah', '2015-06-18 19:03:23') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:23' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:23' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 15:03:25 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.7ms) Completed 200 OK in 36ms (Views: 21.3ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-18 15:03:25 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-18 15:03:25 -0400  (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'  (18.7ms) TRUNCATE TABLE `comments`;  (2.2ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 19:03:25', '2015-06-18 19:03:25')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 19:03:25', 'delivery_man', '2015-06-18 19:03:25')  (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 ('2015-06-18 19:03:25', 1, 'blah', '2015-06-18 19:03:25') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:25' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:25' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 15:03:25 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-18 15:03:26 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (35.6ms) Completed 200 OK in 42ms (Views: 39.6ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 19:03:26', '2015-06-18 19:03:26')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 19:03:26', 'delivery_man', '2015-06-18 19:03: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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-18 19:03:26', 1, 'blah', '2015-06-18 19:03:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:26' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03: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 2015-06-18 15:03:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.9ms) Completed 200 OK in 10ms (Views: 7.2ms | 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-18 15:03:26 -0400 Processing by Commenteux::NotesController#index as HTML 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-06-18 19:03:26', '2015-06-18 19:03:26')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-06-18 19:03:26', 'delivery_man', '2015-06-18 19:03:26')  (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 ('2015-06-18 19:03:26', 1, 'blah', '2015-06-18 19:03:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-06-18 19:03:26' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 15:03:26 -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/nickdemers/Documents/Projects/workspace/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" for 127.0.0.1 at 2015-06-18 15:03:26 -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-18 19:03:26', 'delivery_man', '2015-06-18 19:03:26')  (4.9ms) COMMIT Redirected to http://127.0.0.1:51117/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man Completed 302 Found in 9ms (ActiveRecord: 5.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-18 15:03:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 0.7ms) 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  (24.9ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:27', '2015-06-18 19:03:27')  (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.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-18 19:03:27', 1, 'blah', '2015-06-18 19:03:27') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:27' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:03:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (3.2ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:27', '2015-06-18 19:03:27')  (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 ('2015-06-18 19:03:27', 1, 'blah', '2015-06-18 19:03:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:27' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-18 15:03:27 -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.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (3.2ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:28', '2015-06-18 19:03:28')  (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 ('2015-06-18 19:03:28', 1, 'blah', '2015-06-18 19:03:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:03: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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03:28 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-06-18 19:03:28', '2015-06-18 19:03:28')  (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 ('2015-06-18 19:03:28', 1, 'blah', '2015-06-18 19:03:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-06-18 19:03:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-18 15:03: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03: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.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-18 19:03:28', '2015-06-18 19:03:28')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51117/commenteux/dummy_no_role_model/1?parent_div=&roles= Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-18 15:03: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.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  (24.9ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (27.7ms) 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"} Completed 500 Internal Server Error in 1ms  (0.2ms) 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"} Completed 500 Internal Server Error in 1ms  (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 12ms (Views: 11.3ms | 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: 4.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.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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.3ms | 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.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 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 10ms (Views: 9.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.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 7ms (Views: 7.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"=>"delivery_man"}, "roles"=>"comments,delivery_man", "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"}, "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (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: 1.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: 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.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 Processing by Commenteux::NotesController#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 9ms (Views: 8.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 6ms (Views: 0.9ms | 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.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"=>"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"}, "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", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.2ms) 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 Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 5ms (Views: 4.3ms | 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.3ms) 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  (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 9ms (Views: 8.7ms | 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 5ms (Views: 4.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 1ms (Views: 1.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 4ms (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 5ms (Views: 4.3ms | 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#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&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 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#create as HTML Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 12ms (Views: 11.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.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 5ms (Views: 4.3ms | 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.3ms) ROLLBACK  (0.2ms) 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 1ms (Views: 1.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 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 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (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  (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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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"}, "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 SQL (14.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:11:28', '2015-09-24 16:11:28')  (6.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:11:28', 'delivery_man', '2015-09-24 16:11:28')  (4.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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:11:28', 1, 'blah', '2015-09-24 16:11:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:28' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:28' WHERE `comments`.`id` = 1  (6.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:11: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.8ms) Completed 200 OK in 51ms (Views: 34.9ms | ActiveRecord: 3.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:11:31 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:11:31 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (9.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (4.4ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (6.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:11:31', '2015-09-24 16:11:31')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:11:31', 'delivery_man', '2015-09-24 16:11:31')  (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.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 ('2015-09-24 16:11:31', 1, 'blah', '2015-09-24 16:11:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:31' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:31' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:11:31 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.0ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:11:31 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (50.7ms) Completed 200 OK in 57ms (Views: 55.1ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:11:32', '2015-09-24 16:11:32')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:11:32', 'delivery_man', '2015-09-24 16:11:32')  (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 ('2015-09-24 16:11:32', 1, 'blah', '2015-09-24 16:11:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:32' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:32' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:11:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:11:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)  (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.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:11:32', '2015-09-24 16:11:32')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:11:32', 'delivery_man', '2015-09-24 16:11:32')  (0.2ms) COMMIT 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.2ms) SELECT `comments`.* FROM `comments` WHERE `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 ('2015-09-24 16:11:32', 1, 'blah', '2015-09-24 16:11:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:32' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:11:32' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:11:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=" for 127.0.0.1 at 2015-09-24 12:11: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", "display_list_notes"=>"", "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', '2015-09-24 16:11:33', 'delivery_man', '2015-09-24 16:11:33')  (6.1ms) COMMIT Redirected to http://127.0.0.1:62929/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes= Completed 302 Found in 11ms (ActiveRecord: 6.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=" for 127.0.0.1 at 2015-09-24 12:11:33 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"", "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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:13:36', '2015-09-24 16:13:36')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:13:36', 'delivery_man', '2015-09-24 16:13:36')  (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 ('2015-09-24 16:13:36', 1, 'blah', '2015-09-24 16:13:36') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:36' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:36' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:13:38 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.9ms) Completed 200 OK in 30ms (Views: 17.8ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:13:38 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:13:38 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.9ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:13:38', '2015-09-24 16:13:38')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:13:38', 'delivery_man', '2015-09-24 16:13:38')  (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 ('2015-09-24 16:13:38', 1, 'blah', '2015-09-24 16:13:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:38' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:38' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:13:38 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:13:39 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (33.6ms) Completed 200 OK in 40ms (Views: 37.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:13:39', '2015-09-24 16:13:39')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:13:39', 'delivery_man', '2015-09-24 16:13:39')  (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 ('2015-09-24 16:13:39', 1, 'blah', '2015-09-24 16:13:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:39' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:39' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:13:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.3ms) Completed 200 OK in 10ms (Views: 7.5ms | 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-09-24 12:13:39 -0400 Processing by Commenteux::NotesController#index as HTML 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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 11ms (Views: 6.0ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:13:39', '2015-09-24 16:13:39')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:13:39', 'delivery_man', '2015-09-24 16:13:39')  (0.2ms) COMMIT 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  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:13:39', 1, 'blah', '2015-09-24 16:13:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13:39' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:13: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 2015-09-24 12:13:39 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.7ms) Completed 200 OK in 6ms (Views: 4.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 2015-09-24 12:13:40 -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", "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', '2015-09-24 16:13:40', 'delivery_man', '2015-09-24 16:13:40')  (0.4ms) COMMIT Redirected to http://127.0.0.1:63519/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 2015-09-24 12:13:40 -0400 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.7ms) Comment Load (0.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`comment` = 'Ceci est un commentaire' ORDER BY created_at ASC LIMIT 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:22:09', '2015-09-24 16:22:09')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:22:09', 'delivery_man', '2015-09-24 16:22:09')  (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 ('2015-09-24 16:22:09', 1, 'blah', '2015-09-24 16:22:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:22:09' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:22:09' 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 2015-09-24 12:22:11 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 27ms (Views: 15.3ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:22:11 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:22:11 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (10.1ms) 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) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:22:45', '2015-09-24 16:22:45')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:22:45', 'delivery_man', '2015-09-24 16:22:45')  (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 ('2015-09-24 16:22:45', 1, 'blah', '2015-09-24 16:22:45') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:22:45' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:22:45' 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 2015-09-24 12:22:47 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 25ms (Views: 18.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:22:47 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:22:47 -0400  (0.1ms) 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'  (19.7ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:27:20', '2015-09-24 16:27:20')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:27:20', 'delivery_man', '2015-09-24 16:27:20')  (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.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:27:20', 1, 'blah', '2015-09-24 16:27:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:27:20' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:27: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 2015-09-24 12:27:21 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 30ms (Views: 22.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:27:22 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:27:22 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (9.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.1ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:28:32', '2015-09-24 16:28:32')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:28:32', 'delivery_man', '2015-09-24 16:28:32')  (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 ('2015-09-24 16:28:32', 1, 'blah', '2015-09-24 16:28:32') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:28:32' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:28:32' 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 2015-09-24 12:28:34 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (62.3ms) Completed 200 OK in 91ms (Views: 78.4ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:28:34 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:28:34 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:28:35 -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", "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', '2015-09-24 16:28:35', 'delivery_man', '2015-09-24 16:28:35')  (6.1ms) COMMIT Redirected to http://127.0.0.1:65265/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 10ms (ActiveRecord: 6.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:28:35 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.9ms) 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.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:28:58', '2015-09-24 16:28:58')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:28:58', 'delivery_man', '2015-09-24 16:28:58')  (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 ('2015-09-24 16:28:58', 1, 'blah', '2015-09-24 16:28:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:28:58' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:28: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 2015-09-24 12:29:00 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (36.1ms) Completed 200 OK in 63ms (Views: 52.4ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:29:00 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:29:00 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:29: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", "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', '2015-09-24 16:29:00', 'delivery_man', '2015-09-24 16:29:00')  (0.5ms) COMMIT Redirected to http://127.0.0.1:65470/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:29:00 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.3ms) 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  (0.1ms) SELECT DATABASE() as db  (7.2ms) 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.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:31:04', '2015-09-24 16:31:04')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:31:04', 'delivery_man', '2015-09-24 16:31:04')  (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.4ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:31:04', 1, 'blah', '2015-09-24 16:31:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:31:04' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:31:04' 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 2015-09-24 12:31:05 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 23ms (Views: 16.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:31:05 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:31:05 -0400  (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'  (20.8ms) TRUNCATE TABLE `comments`;  (3.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:31:08', '2015-09-24 16:31:08')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:31:08', 'delivery_man', '2015-09-24 16:31:08')  (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 ('2015-09-24 16:31:08', 1, 'blah', '2015-09-24 16:31:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:31:08' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:31:08' 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 2015-09-24 12:31:08 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (31.2ms) Completed 200 OK in 55ms (Views: 32.6ms | ActiveRecord: 19.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:31:08 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (4.6ms) Completed 200 OK in 13ms (Views: 8.6ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (4.8ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:34:42 -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 Completed 404 Not Found in 13ms  (0.1ms) 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'  (19.7ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:34:44 -0400 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.7ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 404 Not Found in 3ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.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 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:34:48 -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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:34:50 -0400 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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:34: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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `comments`;  (1.7ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:34:55 -0400 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 Completed 404 Not Found in 1ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (30.0ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:34:57 -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 Completed 404 Not Found in 1ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.4ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:34:59 -0400 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 Completed 404 Not Found in 1ms  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (19.2ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:35:09 -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 Completed 404 Not Found in 11ms  (0.1ms) 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'  (13.1ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:35:11 -0400 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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:35:15 -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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (19.9ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:35:17 -0400 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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:35:20 -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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:35:22 -0400 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 Completed 404 Not Found in 1ms  (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.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:35:24 -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 Completed 404 Not Found in 1ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:35:26 -0400 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 Completed 404 Not Found in 1ms  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.5ms) TRUNCATE TABLE `comments`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:02', '2015-09-24 16:36:02')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:02', 'delivery_man', '2015-09-24 16:36:02')  (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.7ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:36:02', 1, 'blah', '2015-09-24 16:36:02') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:02' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:02' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:36:03 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.9ms) Completed 200 OK in 36ms (Views: 20.9ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:36:03 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:36:03 -0400  (0.3ms) 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'  (15.3ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:04', '2015-09-24 16:36:04')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:04', 'delivery_man', '2015-09-24 16:36:04')  (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.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:36:04', 1, 'blah', '2015-09-24 16:36:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:04' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:04' 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 2015-09-24 12:36:04 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.0ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:06', '2015-09-24 16:36:06')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:06', 'delivery_man', '2015-09-24 16:36:06')  (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 ('2015-09-24 16:36:06', 1, 'blah', '2015-09-24 16:36:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:06' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:06' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:36:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:36:06 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (39.8ms) Completed 200 OK in 46ms (Views: 43.8ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.3ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:07', '2015-09-24 16:36:07')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:07', 'delivery_man', '2015-09-24 16:36:07')  (6.0ms) 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.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:36:07', 1, 'blah', '2015-09-24 16:36:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:07' WHERE `comments`.`id` = 1  (6.1ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:36:07 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.2ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:09', '2015-09-24 16:36:09')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:09', 'delivery_man', '2015-09-24 16:36:09')  (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 ('2015-09-24 16:36:09', 1, 'blah', '2015-09-24 16:36:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:09' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36: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 2015-09-24 12:36:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.7ms) Completed 200 OK in 7ms (Views: 5.2ms | 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-09-24 12:36:09 -0400 Processing by Commenteux::NotesController#index as HTML 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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 11ms (Views: 5.0ms | ActiveRecord: 1.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:09', '2015-09-24 16:36:09')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:09', 'delivery_man', '2015-09-24 16:36:09')  (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 ('2015-09-24 16:36:09', 1, 'blah', '2015-09-24 16:36:09') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:09' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:09' 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 2015-09-24 12:36:09 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 8ms (Views: 4.8ms | 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-09-24 12:36:09 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:12', '2015-09-24 16:36:12')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:12', 'delivery_man', '2015-09-24 16:36: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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:36:12', 1, 'blah', '2015-09-24 16:36:12') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:12' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36: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 2015-09-24 12:36:12 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 7ms (Views: 4.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 2015-09-24 12:36:12 -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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-24 16:36:12', 'delivery_man', '2015-09-24 16:36:12')  (0.4ms) COMMIT Redirected to http://127.0.0.1:51269/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-24 12:36:12 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.7ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.6ms) 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  (25.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:36:13', '2015-09-24 16:36:13')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:36:13', 'delivery_man', '2015-09-24 16:36:13')  (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 ('2015-09-24 16:36:13', 1, 'blah', '2015-09-24 16:36:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36:13' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:36: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 2015-09-24 12:36:13 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 6ms (Views: 4.5ms | 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 2015-09-24 12:36:13 -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", "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', '2015-09-24 16:36:13', 'delivery_man', '2015-09-24 16:36:13')  (0.4ms) COMMIT Redirected to http://127.0.0.1:51269/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:36:13 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (19.9ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:49', '2015-09-24 16:37:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:49', 'delivery_man', '2015-09-24 16:37:49')  (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 ('2015-09-24 16:37:49', 1, 'blah', '2015-09-24 16:37:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:49' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:49' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:37:51 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.6ms) Completed 200 OK in 35ms (Views: 21.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:37:51 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:37:51 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.0ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:51', '2015-09-24 16:37:51')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:51', 'delivery_man', '2015-09-24 16:37:51')  (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 ('2015-09-24 16:37:51', 1, 'blah', '2015-09-24 16:37:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:51' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37: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 2015-09-24 12:37:51 -0400 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/nickdemers/Documents/Projects/workspace/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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:54', '2015-09-24 16:37:54')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:54', 'delivery_man', '2015-09-24 16:37:54')  (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 ('2015-09-24 16:37:54', 1, 'blah', '2015-09-24 16:37:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:54' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:54' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:37:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 25ms (Views: 1.3ms | ActiveRecord: 19.1ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:37:54 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (33.3ms) Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:54', '2015-09-24 16:37:54')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:54', 'delivery_man', '2015-09-24 16:37:54')  (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 ('2015-09-24 16:37:54', 1, 'blah', '2015-09-24 16:37:54') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:54' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:54' 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 2015-09-24 12:37:54 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:37:56 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.7ms) Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:57', '2015-09-24 16:37:57')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:57', 'delivery_man', '2015-09-24 16:37:57')  (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 ('2015-09-24 16:37:57', 1, 'blah', '2015-09-24 16:37:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:57' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:57' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:37:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.6ms) Completed 200 OK in 8ms (Views: 6.1ms | 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-09-24 12:37:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) 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.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:57', '2015-09-24 16:37:57')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:57', 'delivery_man', '2015-09-24 16:37:57')  (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 ('2015-09-24 16:37:57', 1, 'blah', '2015-09-24 16:37:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:57' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:57' 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 2015-09-24 12:37:57 -0400 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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:37:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:37:59', '2015-09-24 16:37:59')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:37:59', 'delivery_man', '2015-09-24 16:37:59')  (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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:37:59', 1, 'blah', '2015-09-24 16:37:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:59' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:37:59' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 12:37:59 -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/nickdemers/Documents/Projects/workspace/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&display_list_notes=true" for 127.0.0.1 at 2015-09-24 12:38: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", "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.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', '2015-09-24 16:38:00', 'delivery_man', '2015-09-24 16:38:00')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52003/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 6ms (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 2015-09-24 12:38:00 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.7ms) 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.5ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:38:00', '2015-09-24 16:38:00')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:38:00', 'delivery_man', '2015-09-24 16:38:00')  (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 ('2015-09-24 16:38:00', 1, 'blah', '2015-09-24 16:38:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:38:00' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:38:00' 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 2015-09-24 12:38:00 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (8.8ms) Completed 200 OK in 13ms (Views: 9.6ms | 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 2015-09-24 12:38: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", "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.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-09-24 16:38:01', 'delivery_man', '2015-09-24 16:38:01')  (0.3ms) COMMIT Redirected to http://127.0.0.1:52003/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:38:01 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:39:09', '2015-09-24 16:39:09')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:39:09', 'delivery_man', '2015-09-24 16:39:09')  (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 ('2015-09-24 16:39:09', 1, 'blah', '2015-09-24 16:39:09') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:39:09' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:39:09' 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 2015-09-24 12:39:11 -0400 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.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 4790ms (Views: 34.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:39:16 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:39:16 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:39:23 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (54.7ms) Completed 200 OK in 53987ms (Views: 62.1ms | ActiveRecord: 1.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (9.8ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.8ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:40:17', '2015-09-24 16:40:17')  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:40:17', 'delivery_man', '2015-09-24 16:40:17')  (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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:40:17', 1, 'blah', '2015-09-24 16:40:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:40:17' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:40:17' 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 2015-09-24 12:40:17 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (18.5ms) Completed 200 OK in 2049ms (Views: 22.8ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:40:19 -0400 Processing by Commenteux::NotesController#index as HTML 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (10.6ms) Completed 200 OK in 31ms (Views: 16.3ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:42:38', '2015-09-24 16:42:38')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:42:38', 'delivery_man', '2015-09-24 16:42:38')  (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 ('2015-09-24 16:42:38', 1, 'blah', '2015-09-24 16:42:38') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:42:38' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:42:38' 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 2015-09-24 12:42:40 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 77ms (Views: 42.0ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:42:40 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:42:40 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:43:08 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (86.8ms) Completed 200 OK in 2021ms (Views: 94.0ms | ActiveRecord: 2.0ms)  (0.2ms) 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'  (16.8ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:43:11', '2015-09-24 16:43:11')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:43:11', 'delivery_man', '2015-09-24 16:43:11')  (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.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:43:11', 1, 'blah', '2015-09-24 16:43:11') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:43:11' WHERE `comments`.`id` = 2 SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:43: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 2015-09-24 12:43:11 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (17.5ms) Completed 200 OK in 36281ms (Views: 22.2ms | ActiveRecord: 14.6ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:44:27 -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.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 (3.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (16.3ms) Completed 200 OK in 43ms (Views: 21.8ms | ActiveRecord: 5.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.9ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:45:15', '2015-09-24 16:45:15')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:45:15', 'delivery_man', '2015-09-24 16:45:15')  (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 ('2015-09-24 16:45:16', 1, 'blah', '2015-09-24 16:45:16') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:45:16' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:45:16' 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 2015-09-24 12:45:17 -0400 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.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.0ms) Completed 200 OK in 9515ms (Views: 39.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:45:27 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:45:27 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:45:31 -0400 Processing by Commenteux::NotesController#new as HTML 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (97.5ms) Completed 200 OK in 22569ms (Views: 103.6ms | ActiveRecord: 1.9ms)  (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'  (15.0ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:45:54', '2015-09-24 16:45:54')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:45:54', 'delivery_man', '2015-09-24 16:45:54')  (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 ('2015-09-24 16:45:54', 1, 'blah', '2015-09-24 16:45:54') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:45:54' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:45: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 2015-09-24 12:45:54 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (23.1ms) Completed 200 OK in 2575ms (Views: 27.7ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:46:03 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:54:27', '2015-09-24 16:54:27')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:54:27', 'delivery_man', '2015-09-24 16:54:27')  (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.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.1ms) BEGIN SQL (0.2ms) DELETE FROM `comments` WHERE `comments`.`id` = 2  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:54:27', 1, 'blah', '2015-09-24 16:54:27') Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 16:54:27', 1, 'blah', '2015-09-24 16:54:27')  (0.1ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) 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'  (20.8ms) TRUNCATE TABLE `comments`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.2ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:54:42', '2015-09-24 16:54:42')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:54:42', 'delivery_man', '2015-09-24 16:54:42')  (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 ('2015-09-24 16:54:42', 1, 'blah', '2015-09-24 16:54:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:54:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:54:42' 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 2015-09-24 12:54:44 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 31ms (Views: 18.5ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:54:44 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:54:44 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-09-24 12:54:47 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (41.1ms) Completed 200 OK in 50ms (Views: 45.3ms | ActiveRecord: 2.1ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.5ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:54:49', '2015-09-24 16:54:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:54:49', 'delivery_man', '2015-09-24 16:54:49')  (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 ('2015-09-24 16:54:49', 1, 'blah', '2015-09-24 16:54:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:54:49' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:54:49' 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 2015-09-24 12:54:49 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) 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-09-24 12:54:49 -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.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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 16ms (Views: 9.1ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:56:38', '2015-09-24 16:56:38')  (5.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:56:38', 'delivery_man', '2015-09-24 16:56:38')  (12.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 ('2015-09-24 16:56:38', 1, 'blah', '2015-09-24 16:56:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:56:38' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:56:38' WHERE `comments`.`id` = 1  (6.0ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:56:40 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 155ms (Views: 144.2ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:56:40 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:56:40 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:56:43 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (37.4ms) Completed 200 OK in 46ms (Views: 41.5ms | ActiveRecord: 2.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.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) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:56:43', '2015-09-24 16:56:43')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:56:43', 'delivery_man', '2015-09-24 16:56:43')  (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 ('2015-09-24 16:56:43', 1, 'blah', '2015-09-24 16:56:43') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:56:43' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:56:43' 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 2015-09-24 12:56:43 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.8ms) Completed 200 OK in 9ms (Views: 6.5ms | 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-09-24 12:56:43 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:59:54', '2015-09-24 16:59:54')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:59:54', 'delivery_man', '2015-09-24 16:59:54')  (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 ('2015-09-24 16:59:54', 1, 'blah', '2015-09-24 16:59:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:59:54' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:59:54' 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 2015-09-24 12:59:56 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.8ms) Completed 200 OK in 26ms (Views: 17.5ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 12:59:56 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 12:59:56 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 12:59:58 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (41.8ms) Completed 200 OK in 53ms (Views: 46.0ms | ActiveRecord: 3.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (12.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.0ms) TRUNCATE TABLE `comments`;  (2.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 16:59:59', '2015-09-24 16:59:59')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 16:59:59', 'delivery_man', '2015-09-24 16:59:59')  (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 ('2015-09-24 16:59:59', 1, 'blah', '2015-09-24 16:59:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:59:59' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 16:59: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 2015-09-24 12:59:59 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 8ms (Views: 5.5ms | 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-09-24 12:59:59 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 14ms (Views: 7.1ms | ActiveRecord: 1.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:02:32', '2015-09-24 17:02:32')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:02:32', 'delivery_man', '2015-09-24 17:02:32')  (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 ('2015-09-24 17:02:32', 1, 'blah', '2015-09-24 17:02:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:02:32' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:02:32' 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 2015-09-24 13:02:34 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 134ms (Views: 124.3ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:02:34 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:02:34 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:02:36 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (36.4ms) Completed 200 OK in 46ms (Views: 40.7ms | ActiveRecord: 2.2ms)  (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'  (19.4ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:02:37', '2015-09-24 17:02:37')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:02:37', 'delivery_man', '2015-09-24 17:02: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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:02:37', 1, 'blah', '2015-09-24 17:02:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:02:37' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:02:37' 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 2015-09-24 13:02:37 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.7ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:02:37 -0400 Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:02:37 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (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.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:03', '2015-09-24 17:04:03')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:04', 'delivery_man', '2015-09-24 17:04:04')  (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.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 ('2015-09-24 17:04:04', 1, 'blah', '2015-09-24 17:04:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:04' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:04' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:04:05 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.1ms) Completed 200 OK in 34ms (Views: 18.7ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:04:05 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:04:05 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (8.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.9ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:06', '2015-09-24 17:04:06')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:06', 'delivery_man', '2015-09-24 17:04:06')  (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 ('2015-09-24 17:04:06', 1, 'blah', '2015-09-24 17:04:06') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:06' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:06' 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 2015-09-24 13:04:06 -0400 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/nickdemers/Documents/Projects/workspace/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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:08', '2015-09-24 17:04:08')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:08', 'delivery_man', '2015-09-24 17:04:08')  (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 ('2015-09-24 17:04:08', 1, 'blah', '2015-09-24 17:04:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:08' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:08' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:04:08 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (1.0ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 8ms (Views: 1.3ms | 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 2015-09-24 13:04:08 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (30.6ms) Completed 200 OK in 36ms (Views: 34.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:08', '2015-09-24 17:04:08')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:08', 'delivery_man', '2015-09-24 17:04:08')  (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 ('2015-09-24 17:04:08', 1, 'blah', '2015-09-24 17:04:08') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:08' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:08' 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 2015-09-24 13:04:09 -0400 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/nickdemers/Documents/Projects/workspace/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_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:04:11 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.7ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.1ms) TRUNCATE TABLE `comments`;  (3.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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:11', '2015-09-24 17:04:11')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:11', 'delivery_man', '2015-09-24 17:04:11')  (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 ('2015-09-24 17:04:11', 1, 'blah', '2015-09-24 17:04:11') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:11' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04: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 2015-09-24 13:04: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (6.3ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:04:11 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:11', '2015-09-24 17:04:11')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:11', 'delivery_man', '2015-09-24 17:04:11')  (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 ('2015-09-24 17:04:11', 1, 'blah', '2015-09-24 17:04:11') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:11' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:11' 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 2015-09-24 13:04:11 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:04:11 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:14', '2015-09-24 17:04:14')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:14', 'delivery_man', '2015-09-24 17:04:14')  (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 ('2015-09-24 17:04:14', 1, 'blah', '2015-09-24 17:04:14') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:14' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:14' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:04:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 5ms (Views: 3.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 2015-09-24 13:04:14 -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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-24 17:04:14', 'delivery_man', '2015-09-24 17:04:14')  (6.1ms) COMMIT Redirected to http://127.0.0.1:55528/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 11ms (ActiveRecord: 6.7ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:04:14 -0400 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.6ms) Completed 200 OK in 13ms (Views: 8.4ms | ActiveRecord: 0.8ms) Comment Load (0.4ms) 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  (26.3ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:04:15', '2015-09-24 17:04:15')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:04:15', 'delivery_man', '2015-09-24 17:04:15')  (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 ('2015-09-24 17:04:15', 1, 'blah', '2015-09-24 17:04:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:15' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:04:15' 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 2015-09-24 13:04:15 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 6ms (Views: 4.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 2015-09-24 13:04:15 -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", "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.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-09-24 17:04:15', 'delivery_man', '2015-09-24 17:04:15')  (0.3ms) COMMIT Redirected to http://127.0.0.1:55528/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:04:15 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:08:57', '2015-09-24 17:08:57')  (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 ('2015-09-24 17:08:57', 1, 'blah', '2015-09-24 17:08:57') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:08:57' 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 2015-09-24 13:08:59 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.4ms) Completed 200 OK in 24ms (Views: 20.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:08:59 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:08:59 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.2ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:10:14', '2015-09-24 17:10:14')  (0.4ms) 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 ('2015-09-24 17:10:14', 1, 'blah', '2015-09-24 17:10:14') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:10: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 2015-09-24 13:10:16 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:10:16 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:10:16 -0400 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:10:18 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (38.9ms) Completed 200 OK in 47ms (Views: 42.8ms | ActiveRecord: 2.0ms)  (0.1ms) 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'  (21.5ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:11:41', '2015-09-24 17:11:41')  (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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:11:41', 1, 'blah', '2015-09-24 17:11:41') SQL (0.6ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:11: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 2015-09-24 13:11:43 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:11:43 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:11:43 -0400 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:11:45 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (34.5ms) Completed 200 OK in 43ms (Views: 38.9ms | ActiveRecord: 1.4ms)  (0.2ms) 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'  (21.2ms) TRUNCATE TABLE `comments`;  (3.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:11:46', '2015-09-24 17:11:46')  (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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:11:46', 1, 'blah', '2015-09-24 17:11:46') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:11:46' 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 2015-09-24 13:11:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.2ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:11:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:13:31', '2015-09-24 17:13:31')  (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 ('2015-09-24 17:13:31', 1, 'blah', '2015-09-24 17:13:31') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:13: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 2015-09-24 13:13:33 -0400 Processing by Commenteux::NotesController#new 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.6ms) Completed 200 OK in 57ms (Views: 50.6ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:13:33 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:13:33 -0400  (0.2ms) 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'  (20.5ms) 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.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:14:12', '2015-09-24 17:14:12')  (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 ('2015-09-24 17:14:12', 1, 'blah', '2015-09-24 17:14:12') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:14:12' 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 2015-09-24 13:14:14 -0400 Processing by Commenteux::NotesController#new 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (35.2ms) Completed 200 OK in 58ms (Views: 50.2ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:14:14 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:14:14 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (10.6ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.4ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:14:27', '2015-09-24 17:14:27')  (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 ('2015-09-24 17:14:27', 1, 'blah', '2015-09-24 17:14:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:14:27' 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 2015-09-24 13:14:29 -0400 Processing by Commenteux::NotesController#new as HTML Parameters: {"display_list_notes"=>"false", "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (36.0ms) Completed 200 OK in 58ms (Views: 49.9ms | ActiveRecord: 3.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:14:29 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:14:29 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:14:30 -0400 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', '2015-09-24 17:14:30', '2015-09-24 17:14:30')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57203/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:14:30 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.8ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms) 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  (0.1ms) SELECT DATABASE() as db  (7.1ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (14.1ms) TRUNCATE TABLE `comments`;  (3.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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:06', '2015-09-24 17:15:06')  (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.3ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:15:06', 1, 'blah', '2015-09-24 17:15:06') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:06' 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 2015-09-24 13:15:08 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (44.1ms) Completed 200 OK in 72ms (Views: 61.2ms | ActiveRecord: 6.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:15:08 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:15:08 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:08 -0400 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', '2015-09-24 17:15:08', '2015-09-24 17:15:08')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57370/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:08 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.8ms) Completed 200 OK in 8ms (Views: 7.4ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (8.2ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.3ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:17', '2015-09-24 17:15:17')  (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 ('2015-09-24 17:15:17', 1, 'blah', '2015-09-24 17:15:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:17' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:15:20 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.8ms) Completed 200 OK in 25ms (Views: 17.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:15:20 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:15:20 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.8ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:20', '2015-09-24 17:15:20')  (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 ('2015-09-24 17:15:20', 1, 'blah', '2015-09-24 17:15:20') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:20' 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 2015-09-24 13:15:20 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:22', '2015-09-24 17:15:22')  (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 ('2015-09-24 17:15:22', 1, 'blah', '2015-09-24 17:15:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:22' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:15:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:23 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (41.5ms) Completed 200 OK in 48ms (Views: 45.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) 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.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:23', '2015-09-24 17:15:23')  (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 ('2015-09-24 17:15:23', 1, 'blah', '2015-09-24 17:15:23') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:23' 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 2015-09-24 13:15:23 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:25 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:25', '2015-09-24 17:15:25')  (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 ('2015-09-24 17:15:25', 1, 'blah', '2015-09-24 17:15:25') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:25' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:15:25 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:25 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.7ms) Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.0ms) TRUNCATE TABLE `comments`;  (2.7ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:25', '2015-09-24 17:15:25')  (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 ('2015-09-24 17:15:25', 1, 'blah', '2015-09-24 17:15:25') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:25' 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 2015-09-24 13:15:25 -0400 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/nickdemers/Documents/Projects/workspace/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 GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:26 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:28', '2015-09-24 17:15:28')  (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 ('2015-09-24 17:15:28', 1, 'blah', '2015-09-24 17:15:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:28' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:15: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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:28 -0400 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', '2015-09-24 17:15:28', '2015-09-24 17:15:28')  (0.4ms) COMMIT Redirected to http://127.0.0.1:57459/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:28 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.4ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.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  (25.9ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:28', '2015-09-24 17:15:28')  (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 ('2015-09-24 17:15:28', 1, 'blah', '2015-09-24 17:15:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:28' 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 2015-09-24 13:15:28 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:28 -0400 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', '2015-09-24 17:15:28', '2015-09-24 17:15:28')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57459/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:28 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:38', '2015-09-24 17:15:38')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:38', 'delivery_man', '2015-09-24 17:15:38')  (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 ('2015-09-24 17:15:38', 1, 'blah', '2015-09-24 17:15:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:38' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:38' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:15:40 -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.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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.5ms) Completed 200 OK in 34ms (Views: 18.2ms | ActiveRecord: 4.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:15:41 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:15:41 -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'  (20.0ms) TRUNCATE TABLE `comments`;  (3.7ms) TRUNCATE TABLE `dummy_models`;  (3.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:41', '2015-09-24 17:15:41')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:41', 'delivery_man', '2015-09-24 17:15:41')  (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 ('2015-09-24 17:15:41', 1, 'blah', '2015-09-24 17:15:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:41' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15: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 2015-09-24 13:15:41 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.1ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:43', '2015-09-24 17:15:43')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:43', 'delivery_man', '2015-09-24 17:15:43')  (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 ('2015-09-24 17:15:43', 1, 'blah', '2015-09-24 17:15:43') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:43' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:43' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:15:43 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:44 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (37.3ms) Completed 200 OK in 44ms (Views: 41.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:44', '2015-09-24 17:15:44')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:44', 'delivery_man', '2015-09-24 17:15:44')  (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 ('2015-09-24 17:15:44', 1, 'blah', '2015-09-24 17:15:44') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:44' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:44' 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 2015-09-24 13:15:44 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 30ms (Views: 28.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 2015-09-24 13:15:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.8ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.4ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:46', '2015-09-24 17:15:46')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:46', 'delivery_man', '2015-09-24 17:15:46')  (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 ('2015-09-24 17:15:46', 1, 'blah', '2015-09-24 17:15:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:46' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:46' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:15:46 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.0ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:46 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:47', '2015-09-24 17:15:47')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:47', 'delivery_man', '2015-09-24 17:15:47')  (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 ('2015-09-24 17:15:47', 1, 'blah', '2015-09-24 17:15:47') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:47' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:47' 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 2015-09-24 13:15:47 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:47 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:49', '2015-09-24 17:15:49')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:49', 'delivery_man', '2015-09-24 17:15:49')  (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 ('2015-09-24 17:15:49', 1, 'blah', '2015-09-24 17:15:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:49' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:49' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:15:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 3.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 2015-09-24 13:15:49 -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", "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', '2015-09-24 17:15:49', 'delivery_man', '2015-09-24 17:15:49')  (4.8ms) COMMIT Redirected to http://127.0.0.1:57862/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 5.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:49 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.4ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.7ms) 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  (25.2ms) 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.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:15:50', '2015-09-24 17:15:50')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:15:50', 'delivery_man', '2015-09-24 17:15:50')  (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 ('2015-09-24 17:15:50', 1, 'blah', '2015-09-24 17:15:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:50' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:15:50' 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 2015-09-24 13:15:50 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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 2015-09-24 13:15: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", "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', '2015-09-24 17:15:50', 'delivery_man', '2015-09-24 17:15:50')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57862/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:50 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:52', '2015-09-24 17:15:52')  (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 ('2015-09-24 17:15:52', 1, 'blah', '2015-09-24 17:15:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:52' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:15:52 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.0ms) TRUNCATE TABLE `comments`;  (4.0ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:53', '2015-09-24 17:15:53')  (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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:15:53', 1, 'blah', '2015-09-24 17:15:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:53' 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 2015-09-24 13:15:53 -0400 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/nickdemers/Documents/Projects/workspace/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  (24.7ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN SQL (0.7ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:55', '2015-09-24 17:15:55')  (0.6ms) 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 ('2015-09-24 17:15:55', 1, 'blah', '2015-09-24 17:15:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:55' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:15:55 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:55 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (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.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:55', '2015-09-24 17:15:55')  (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 ('2015-09-24 17:15:55', 1, 'blah', '2015-09-24 17:15:55') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:55' 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 2015-09-24 13:15:55 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-24 13:15:57 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.2ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:58', '2015-09-24 17:15:58')  (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 ('2015-09-24 17:15:58', 1, 'blah', '2015-09-24 17:15:58') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:58' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:15:58 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:15:58 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:15:58', '2015-09-24 17:15:58')  (0.5ms) 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 ('2015-09-24 17:15:58', 1, 'blah', '2015-09-24 17:15:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:15:58' 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 2015-09-24 13:15:58 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:15:58 -0400 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.4ms) SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:16:00', '2015-09-24 17:16:00')  (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 ('2015-09-24 17:16:00', 1, 'blah', '2015-09-24 17:16:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:16:00' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:16:00 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:16:01 -0400 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', '2015-09-24 17:16:01', '2015-09-24 17:16:01')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57862/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 2015-09-24 13:16:01 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/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`.`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  (25.9ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:16:01', '2015-09-24 17:16:01')  (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 ('2015-09-24 17:16:01', 1, 'blah', '2015-09-24 17:16:01') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:16:01' 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 2015-09-24 13:16:01 -0400 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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:16:01 -0400 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', '2015-09-24 17:16:01', '2015-09-24 17:16:01')  (0.3ms) COMMIT Redirected to http://127.0.0.1:57862/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:16:01 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (2.4ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:05', '2015-09-24 17:17:05')  (5.7ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:05', 'delivery_man', '2015-09-24 17:17:05')  (11.6ms) 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 ('2015-09-24 17:17:05', 1, 'blah', '2015-09-24 17:17:05') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:05' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:05' WHERE `comments`.`id` = 1  (5.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:17:07 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (5.7ms) Completed 200 OK in 66ms (Views: 31.7ms | ActiveRecord: 20.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:17:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:17:07 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (23.7ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:07', '2015-09-24 17:17:07')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:07', 'delivery_man', '2015-09-24 17:17:07')  (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 ('2015-09-24 17:17:07', 1, 'blah', '2015-09-24 17:17:07') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17: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 2015-09-24 13:17:07 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:10', '2015-09-24 17:17:10')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:10', 'delivery_man', '2015-09-24 17:17:10')  (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 ('2015-09-24 17:17:10', 1, 'blah', '2015-09-24 17:17:10') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:10' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:10' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:17:10 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:17:10 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (56.0ms) Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) 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.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:10', '2015-09-24 17:17:10')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:10', 'delivery_man', '2015-09-24 17:17:10')  (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 ('2015-09-24 17:17:10', 1, 'blah', '2015-09-24 17:17:10') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:10' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:10' 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 2015-09-24 13:17:10 -0400 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/nickdemers/Documents/Projects/workspace/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_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:17:12 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (3.5ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.7ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:13', '2015-09-24 17:17:13')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:13', 'delivery_man', '2015-09-24 17:17:13')  (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 ('2015-09-24 17:17:13', 1, 'blah', '2015-09-24 17:17:13') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:13' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:13' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:17:13 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:17:13 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:13', '2015-09-24 17:17:13')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:13', 'delivery_man', '2015-09-24 17:17:13')  (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 ('2015-09-24 17:17:13', 1, 'blah', '2015-09-24 17:17:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:13' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:13' 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 2015-09-24 13:17:13 -0400 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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:17:13 -0400 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/nickdemers/Documents/Projects/workspace/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  (24.5ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:15', '2015-09-24 17:17:15')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:15', 'delivery_man', '2015-09-24 17:17:15')  (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 ('2015-09-24 17:17:15', 1, 'blah', '2015-09-24 17:17:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:15' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:15' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:17:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 6ms (Views: 4.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 2015-09-24 13:17: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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-24 17:17:16', 'delivery_man', '2015-09-24 17:17:16')  (5.6ms) COMMIT Redirected to http://127.0.0.1:58771/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 10ms (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 2015-09-24 13:17:16 -0400 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 (1.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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 13ms (Views: 6.8ms | ActiveRecord: 2.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  (26.1ms) TRUNCATE TABLE `comments`;  (3.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:17:16', '2015-09-24 17:17:16')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:17:16', 'delivery_man', '2015-09-24 17:17:16')  (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 ('2015-09-24 17:17:16', 1, 'blah', '2015-09-24 17:17:16') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:16' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:17:16' 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 2015-09-24 13:17:16 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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 2015-09-24 13:17:17 -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", "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.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-09-24 17:17:17', 'delivery_man', '2015-09-24 17:17:17')  (0.4ms) COMMIT Redirected to http://127.0.0.1:58771/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:17:17 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:19', '2015-09-24 17:17:19')  (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 ('2015-09-24 17:17:19', 1, 'blah', '2015-09-24 17:17:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:19' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:17:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) 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.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:19', '2015-09-24 17:17:19')  (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 ('2015-09-24 17:17:19', 1, 'blah', '2015-09-24 17:17:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:19' 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 2015-09-24 13:17:19 -0400 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/nickdemers/Documents/Projects/workspace/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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:21', '2015-09-24 17:17:21')  (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 ('2015-09-24 17:17:21', 1, 'blah', '2015-09-24 17:17:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:21' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:17:21 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:17:22 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (19.6ms) TRUNCATE TABLE `comments`;  (2.0ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:22', '2015-09-24 17:17:22')  (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 ('2015-09-24 17:17:22', 1, 'blah', '2015-09-24 17:17:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:22' 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 2015-09-24 13:17:22 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-24 13:17:24 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.2ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:24', '2015-09-24 17:17:24')  (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 ('2015-09-24 17:17:24', 1, 'blah', '2015-09-24 17:17:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:24' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:17:24 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:17:24 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) 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.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:24', '2015-09-24 17:17:24')  (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 ('2015-09-24 17:17:24', 1, 'blah', '2015-09-24 17:17:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:24' 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 2015-09-24 13:17:24 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:17:25 -0400 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/nickdemers/Documents/Projects/workspace/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  (24.5ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:27', '2015-09-24 17:17:27')  (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 ('2015-09-24 17:17:27', 1, 'blah', '2015-09-24 17:17:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:27' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:17:27 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:17:27 -0400 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', '2015-09-24 17:17:27', '2015-09-24 17:17:27')  (0.2ms) COMMIT Redirected to http://127.0.0.1:58771/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 2015-09-24 13:17:27 -0400 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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms) 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  (25.6ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:17:27', '2015-09-24 17:17:27')  (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 ('2015-09-24 17:17:27', 1, 'blah', '2015-09-24 17:17:27') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:17:27' 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 2015-09-24 13:17:27 -0400 Processing by Commenteux::NotesController#new 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:17:27 -0400 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', '2015-09-24 17:17:28', '2015-09-24 17:17:28')  (0.3ms) COMMIT Redirected to http://127.0.0.1:58771/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:17:28 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 DummyModel Load (20.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Completed 404 Not Found in 1960307ms  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (3.2ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:18:53', '2015-09-24 17:18:53')  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:18:53', 'delivery_man', '2015-09-24 17:18:53')  (9.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.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:18:53', 1, 'blah', '2015-09-24 17:18:53') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:18:53' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:18:53' WHERE `comments`.`id` = 1  (6.0ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:18:55 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.8ms) Completed 200 OK in 79ms (Views: 51.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:18:55 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:18:55 -0400 Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:18:57 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (96.2ms) Completed 200 OK in 3963ms (Views: 105.4ms | ActiveRecord: 1.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.7ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:19:01', '2015-09-24 17:19:01')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:19:01', 'delivery_man', '2015-09-24 17:19:01')  (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 ('2015-09-24 17:19:01', 1, 'blah', '2015-09-24 17:19:01') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:19:01' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:19:01' 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 2015-09-24 13:19:01 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (16.0ms) Completed 200 OK in 31ms (Views: 19.5ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:19:02 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.6ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) 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.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:19:18', '2015-09-24 17:19:18')  (6.0ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:19:18', 'delivery_man', '2015-09-24 17:19:18')  (12.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.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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:19:18', 1, 'blah', '2015-09-24 17:19:18') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:19:18' WHERE `comments`.`id` = 2 SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:19:18' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:19:21 -0400 Processing by Commenteux::NotesController#index 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 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (11.9ms) Completed 200 OK in 68611ms (Views: 47.7ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:20:29 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:20:29 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) 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'  (15.7ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:20:40', '2015-09-24 17:20:40')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:20:40', 'delivery_man', '2015-09-24 17:20:40')  (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.1ms) BEGIN SQL (0.5ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:20:41', 1, 'blah', '2015-09-24 17:20:41') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:20:41' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:20:41' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:20:42 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (8.0ms) Completed 500 Internal Server Error in 76ms  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (11.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (13.1ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (2.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:17', '2015-09-24 17:21:17')  (1.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:17', 'delivery_man', '2015-09-24 17:21:17')  (0.3ms) 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 ('2015-09-24 17:21:17', 1, 'blah', '2015-09-24 17:21:17') SQL (0.5ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:17' WHERE `comments`.`id` = 2 SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:17' WHERE `comments`.`id` = 1  (0.9ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:21:19 -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.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 (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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (19.5ms) Completed 200 OK in 116ms (Views: 64.1ms | ActiveRecord: 4.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:21:19 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:21:19 -0400  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (8.2ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:41', '2015-09-24 17:21:41')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:41', 'delivery_man', '2015-09-24 17:21:41')  (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 ('2015-09-24 17:21:41', 1, 'blah', '2015-09-24 17:21:41') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:41' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:41' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:21:43 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.7ms) Completed 200 OK in 34ms (Views: 20.8ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:21:43 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:21:43 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (18.2ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:43', '2015-09-24 17:21:43')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:43', 'delivery_man', '2015-09-24 17:21:43')  (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 ('2015-09-24 17:21:43', 1, 'blah', '2015-09-24 17:21:43') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:43' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:43' 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 2015-09-24 13:21:43 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.3ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:45', '2015-09-24 17:21:45')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:45', 'delivery_man', '2015-09-24 17:21:45')  (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 ('2015-09-24 17:21:45', 1, 'blah', '2015-09-24 17:21:45') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:45' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:45' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:21:45 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:21:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (37.3ms) Completed 200 OK in 43ms (Views: 41.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:46', '2015-09-24 17:21:46')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:46', 'delivery_man', '2015-09-24 17:21:46')  (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 ('2015-09-24 17:21:46', 1, 'blah', '2015-09-24 17:21:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:46' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:46' 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 2015-09-24 13:21:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (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 2015-09-24 13:21:48 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.7ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:48', '2015-09-24 17:21:48')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:48', 'delivery_man', '2015-09-24 17:21:48')  (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 ('2015-09-24 17:21:48', 1, 'blah', '2015-09-24 17:21:48') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:48' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:21:48 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (5.5ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:21:48 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (43.1ms) TRUNCATE TABLE `comments`;  (3.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:49', '2015-09-24 17:21:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:49', 'delivery_man', '2015-09-24 17:21:49')  (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 ('2015-09-24 17:21:49', 1, 'blah', '2015-09-24 17:21:49') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:49' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:49' 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 2015-09-24 13:21:49 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:21:49 -0400 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/nickdemers/Documents/Projects/workspace/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  (24.6ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:51', '2015-09-24 17:21:51')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:51', 'delivery_man', '2015-09-24 17:21:51')  (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 ('2015-09-24 17:21:51', 1, 'blah', '2015-09-24 17:21:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:51' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:51' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:21:51 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 7ms (Views: 4.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 2015-09-24 13:21: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", "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.6ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-24 17:21:51', 'delivery_man', '2015-09-24 17:21:51')  (6.0ms) COMMIT Redirected to http://127.0.0.1:60302/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 12ms (ActiveRecord: 7.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:21:52 -0400 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 (1.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.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms) Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 1.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  (25.6ms) TRUNCATE TABLE `comments`;  (2.7ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:21:52', '2015-09-24 17:21:52')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:21:52', 'delivery_man', '2015-09-24 17:21:52')  (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 ('2015-09-24 17:21:52', 1, 'blah', '2015-09-24 17:21:52') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:52' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:21:52' 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 2015-09-24 13:21:52 -0400 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/nickdemers/Documents/Projects/workspace/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&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:21:52 -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", "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', '2015-09-24 17:21:52', 'delivery_man', '2015-09-24 17:21:52')  (4.9ms) COMMIT Redirected to http://127.0.0.1:60302/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 9ms (ActiveRecord: 5.5ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:21:52 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.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  (25.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:21:55', '2015-09-24 17:21:55')  (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 ('2015-09-24 17:21:55', 1, 'blah', '2015-09-24 17:21:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:21:55' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:21:55 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `comments`;  (1.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:21:55', '2015-09-24 17:21:55')  (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 ('2015-09-24 17:21:55', 1, 'blah', '2015-09-24 17:21:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:21:55' 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 2015-09-24 13:21:55 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:21:57', '2015-09-24 17:21:57')  (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 ('2015-09-24 17:21:57', 1, 'blah', '2015-09-24 17:21:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:21:57' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:21:57 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:21:57 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.5ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:21:57', '2015-09-24 17:21:57')  (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 ('2015-09-24 17:21:57', 1, 'blah', '2015-09-24 17:21:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:21:57' 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 2015-09-24 13:21:57 -0400 Processing by Commenteux::NotesController#index as HTML Parameters: {"display_list_notes"=>"false", "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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:22:00 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `comments`;  (3.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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:22:00', '2015-09-24 17:22:00')  (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.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:22:00', 1, 'blah', '2015-09-24 17:22:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:22:00' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:22:00 -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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:22:00 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) 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) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:22:00', '2015-09-24 17:22:00')  (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 ('2015-09-24 17:22:00', 1, 'blah', '2015-09-24 17:22:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:22:00' 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 2015-09-24 13:22:00 -0400 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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:22:00 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:22:02', '2015-09-24 17:22:02')  (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 ('2015-09-24 17:22:02', 1, 'blah', '2015-09-24 17:22:02') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:22:02' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:22:02 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:22:03 -0400 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.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-09-24 17:22:03', '2015-09-24 17:22:03')  (0.4ms) COMMIT Redirected to http://127.0.0.1:60302/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:22:03 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/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`.`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.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) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:22:03', '2015-09-24 17:22:03')  (0.4ms) COMMIT Comment Load (0.6ms) 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 ('2015-09-24 17:22:03', 1, 'blah', '2015-09-24 17:22:03') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:22:03' 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 2015-09-24 13:22:03 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 5ms (Views: 3.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 2015-09-24 13:22:03 -0400 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', '2015-09-24 17:22:03', '2015-09-24 17:22:03')  (0.2ms) COMMIT Redirected to http://127.0.0.1:60302/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:22:03 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.1ms) TRUNCATE TABLE `comments`;  (15.4ms) TRUNCATE TABLE `dummy_models`;  (17.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:22:49', '2015-09-24 17:22:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:22:49', 'delivery_man', '2015-09-24 17:22:49')  (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.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:22:49', 1, 'blah', '2015-09-24 17:22:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:22:49' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:22:49' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:22:51 -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 (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.8ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (15.2ms) Completed 200 OK in 67518ms (Views: 50.7ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:23:58 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:23:58 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) 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'  (14.7ms) TRUNCATE TABLE `comments`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:23:59', '2015-09-24 17:23:59')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:23:59', 'delivery_man', '2015-09-24 17:23:59')  (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 ('2015-09-24 17:23:59', 1, 'blah', '2015-09-24 17:23:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:23:59' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:23:59' 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 2015-09-24 13:23:59 -0400 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.4ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:24:01', '2015-09-24 17:24:01')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:24:01', 'delivery_man', '2015-09-24 17:24:01')  (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 ('2015-09-24 17:24:01', 1, 'blah', '2015-09-24 17:24:01') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:01' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:01' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:24:01 -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.8ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 13323ms (Views: 4.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 2015-09-24 13:24:15 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (56.2ms) Completed 200 OK in 69ms (Views: 61.0ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:24:15', '2015-09-24 17:24:15')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:24:15', 'delivery_man', '2015-09-24 17:24:15')  (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 ('2015-09-24 17:24:15', 1, 'blah', '2015-09-24 17:24:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:15' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:15' 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 2015-09-24 13:24:15 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 2.9ms | 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 2015-09-24 13:24:17 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (12.5ms) Completed 200 OK in 21ms (Views: 13.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (2.9ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:24:17', '2015-09-24 17:24:17')  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:24:17', 'delivery_man', '2015-09-24 17:24:17')  (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.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:24:17', 1, 'blah', '2015-09-24 17:24:17') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:17' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:17' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:24:17 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (16.5ms) Completed 200 OK in 29ms (Views: 20.2ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:24:18 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.6ms) Completed 200 OK in 4193ms (Views: 12.4ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:24:22', '2015-09-24 17:24:22')  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:24:22', 'delivery_man', '2015-09-24 17:24:22')  (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 ('2015-09-24 17:24:22', 1, 'blah', '2015-09-24 17:24:22') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:22' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24: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 2015-09-24 13:24:22 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (13.7ms) Completed 200 OK in 23ms (Views: 16.2ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:24:22 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:24:25', '2015-09-24 17:24:25')  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:24:25', 'delivery_man', '2015-09-24 17:24:25')  (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 (1.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.2ms) BEGIN SQL (0.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:24:25', 1, 'blah', '2015-09-24 17:24:25') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:25' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:25' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:24: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (13.0ms) Completed 200 OK in 24ms (Views: 16.1ms | 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 2015-09-24 13:24:25 -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", "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.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-09-24 17:24:25', 'delivery_man', '2015-09-24 17:24:25')  (5.6ms) COMMIT Redirected to http://127.0.0.1:61266/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 19ms (ActiveRecord: 6.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:24:25 -0400 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.5ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 20ms (Views: 8.4ms | 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.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:24:25', '2015-09-24 17:24:25')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:24:25', 'delivery_man', '2015-09-24 17:24:25')  (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 ('2015-09-24 17:24:25', 1, 'blah', '2015-09-24 17:24:25') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:25' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:24:25' 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 2015-09-24 13:24:26 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (13.4ms) Completed 200 OK in 25ms (Views: 16.0ms | 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 2015-09-24 13:24:26 -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", "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.3ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-24 17:24:26', 'delivery_man', '2015-09-24 17:24:26')  (0.4ms) COMMIT Redirected to http://127.0.0.1:61266/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 13ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:24:26 -0400 Processing by Commenteux::NotesController#index as JS Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (3.3ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 3.3ms) 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  (25.9ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.3ms) 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 12ms (Views: 10.8ms | ActiveRecord: 0.0ms)  (0.2ms) 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.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 500 Internal Server Error in 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#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 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#new as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 4ms (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 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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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&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  (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.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 13ms (Views: 12.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 5ms (Views: 2.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 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  (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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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&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#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.3ms | 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#index as HTML Parameters: {"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#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:17', '2015-09-24 17:26:17')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:17', 'delivery_man', '2015-09-24 17:26:17')  (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 ('2015-09-24 17:26:17', 1, 'blah', '2015-09-24 17:26:17') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:17' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:17' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:26:19 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (7.2ms) Completed 200 OK in 45ms (Views: 27.6ms | ActiveRecord: 3.7ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:26:19 -0400 Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:26:19 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (8.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.0ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (1.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:20', '2015-09-24 17:26:20')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:20', 'delivery_man', '2015-09-24 17:26:20')  (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.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 ('2015-09-24 17:26:20', 1, 'blah', '2015-09-24 17:26:20') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:20' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:20' WHERE `comments`.`id` = 1  (0.9ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:26:20 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `comments`;  (2.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:22', '2015-09-24 17:26:22')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:22', 'delivery_man', '2015-09-24 17:26:22')  (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 ('2015-09-24 17:26:22', 1, 'blah', '2015-09-24 17:26:22') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:22' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:26:22 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:26:23 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (55.5ms) Completed 200 OK in 71ms (Views: 61.8ms | ActiveRecord: 2.2ms)  (1.6ms) SELECT @@FOREIGN_KEY_CHECKS  (1.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `comments`;  (3.2ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:23', '2015-09-24 17:26:23')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:23', 'delivery_man', '2015-09-24 17:26:23')  (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 ('2015-09-24 17:26:23', 1, 'blah', '2015-09-24 17:26:23') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:23' WHERE `comments`.`id` = 2 SQL (0.6ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:23' 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 2015-09-24 13:26:23 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (Views: 1.1ms | 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 2015-09-24 13:26:25 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.9ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:26', '2015-09-24 17:26:26')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:26', 'delivery_man', '2015-09-24 17:26:26')  (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 ('2015-09-24 17:26:26', 1, 'blah', '2015-09-24 17:26:26') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:26' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:26:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:26:26 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.8ms)  (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.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:26', '2015-09-24 17:26:26')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:26', 'delivery_man', '2015-09-24 17:26:26')  (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 ('2015-09-24 17:26:26', 1, 'blah', '2015-09-24 17:26:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:26' 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 2015-09-24 13:26:26 -0400 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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:26:26 -0400 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/nickdemers/Documents/Projects/workspace/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  (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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:28', '2015-09-24 17:26:28')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:28', 'delivery_man', '2015-09-24 17:26:28')  (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.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 ('2015-09-24 17:26:28', 1, 'blah', '2015-09-24 17:26:28') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:28' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:28' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-24 13:26:28 -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/nickdemers/Documents/Projects/workspace/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=true" for 127.0.0.1 at 2015-09-24 13:26:29 -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", "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', '2015-09-24 17:26:29', 'delivery_man', '2015-09-24 17:26:29')  (0.4ms) COMMIT Redirected to http://127.0.0.1:61852/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-24 13:26:29 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.8ms) Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.6ms) Comment Load (0.4ms) 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  (37.5ms) TRUNCATE TABLE `comments`;  (3.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-24 17:26:29', '2015-09-24 17:26:29')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-24 17:26:29', 'delivery_man', '2015-09-24 17:26: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.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 ('2015-09-24 17:26:29', 1, 'blah', '2015-09-24 17:26:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26:29' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-24 17:26: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 2015-09-24 13:26:29 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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 2015-09-24 13:26:29 -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", "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', '2015-09-24 17:26:29', 'delivery_man', '2015-09-24 17:26:29')  (0.3ms) COMMIT Redirected to http://127.0.0.1:61852/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:26:30 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:32', '2015-09-24 17:26:32')  (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 ('2015-09-24 17:26:32', 1, 'blah', '2015-09-24 17:26:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:32' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:26:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:32', '2015-09-24 17:26:32')  (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 ('2015-09-24 17:26:32', 1, 'blah', '2015-09-24 17:26:32') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:32' 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 2015-09-24 13:26:32 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:34', '2015-09-24 17:26:34')  (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 ('2015-09-24 17:26:34', 1, 'blah', '2015-09-24 17:26:34') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:34' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-24 13:26: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.3ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:26:34 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) 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) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:35', '2015-09-24 17:26:35')  (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 ('2015-09-24 17:26:35', 1, 'blah', '2015-09-24 17:26:35') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:35' 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 2015-09-24 13:26:35 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-24 13:26:37 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.2ms) Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:37', '2015-09-24 17:26: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  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-24 17:26:37', 1, 'blah', '2015-09-24 17:26:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:37' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:26:37 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:26:37 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (2.7ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:37', '2015-09-24 17:26:37')  (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 ('2015-09-24 17:26:37', 1, 'blah', '2015-09-24 17:26:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:37' 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 2015-09-24 13:26:37 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:26:37 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.7ms) TRUNCATE TABLE `comments`;  (3.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:40', '2015-09-24 17:26:40')  (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 ('2015-09-24 17:26:40', 1, 'blah', '2015-09-24 17:26:40') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:40' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-24 13:26:40 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:26:40 -0400 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.5ms) 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-09-24 17:26:40', '2015-09-24 17:26:40')  (0.3ms) COMMIT Redirected to http://127.0.0.1:61852/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-24 13:26:40 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.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  (26.4ms) TRUNCATE TABLE `comments`;  (2.3ms) TRUNCATE TABLE `dummy_models`;  (1.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-24 17:26:40', '2015-09-24 17:26:40')  (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 ('2015-09-24 17:26:40', 1, 'blah', '2015-09-24 17:26:40') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-24 17:26:40' 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 2015-09-24 13:26:40 -0400 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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:26:40 -0400 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', '2015-09-24 17:26:40', '2015-09-24 17:26:40')  (0.3ms) COMMIT Redirected to http://127.0.0.1:61852/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-24 13:26:40 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (8.9ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 14ms (Views: 13.2ms | 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 8ms (Views: 3.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 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#index as HTML Parameters: {"roles"=>"comments,delivery_man", "display_list_notes"=>"false", "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 5ms (Views: 4.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.7ms | 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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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&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.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (24.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:37', '2015-09-28 12:55:37')  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:37', 'delivery_man', '2015-09-28 12:55:37')  (0.8ms) COMMIT Comment Load (6.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.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 ('2015-09-28 12:55:37', 1, 'blah', '2015-09-28 12:55:37') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:37' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:37' WHERE `comments`.`id` = 1  (5.9ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 08:55:40 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.1ms) Completed 200 OK in 156ms (Views: 129.4ms | ActiveRecord: 14.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 08:55:40 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 08:55:40 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (5.8ms) SELECT DATABASE() as db  (18.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (6.5ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (4.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:41', '2015-09-28 12:55:41')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:41', 'delivery_man', '2015-09-28 12:55:41')  (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 ('2015-09-28 12:55:41', 1, 'blah', '2015-09-28 12:55:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:41' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55: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 2015-09-28 08:55:41 -0400 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/nickdemers/Documents/Projects/workspace/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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (42.8ms) TRUNCATE TABLE `comments`;  (2.5ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:43', '2015-09-28 12:55:43')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:43', 'delivery_man', '2015-09-28 12:55:43')  (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 ('2015-09-28 12:55:43', 1, 'blah', '2015-09-28 12:55:43') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:43' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:43' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 08:55:43 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 08:55:43 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (99.0ms) Completed 200 OK in 105ms (Views: 102.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:43', '2015-09-28 12:55:43')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:43', 'delivery_man', '2015-09-28 12:55:43')  (0.5ms) COMMIT 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.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.3ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 12:55:43', 1, 'blah', '2015-09-28 12:55:43') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:43' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:43' 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 2015-09-28 08:55:44 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 1.1ms | 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 2015-09-28 08:55:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.9ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:46', '2015-09-28 12:55:46')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:46', 'delivery_man', '2015-09-28 12:55:46')  (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 ('2015-09-28 12:55:46', 1, 'blah', '2015-09-28 12:55:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:46' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:46' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 08:55:46 -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/nickdemers/Documents/Projects/workspace/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=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 08:55:46 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms) Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (48.0ms) TRUNCATE TABLE `comments`;  (4.0ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:46', '2015-09-28 12:55:46')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:46', 'delivery_man', '2015-09-28 12:55:46')  (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.2ms) SELECT `comments`.* FROM `comments` WHERE `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 ('2015-09-28 12:55:46', 1, 'blah', '2015-09-28 12:55:46') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:46' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:46' 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 2015-09-28 08:55:46 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:55:47 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (5.2ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:49', '2015-09-28 12:55:49')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:49', 'delivery_man', '2015-09-28 12:55:49')  (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 ('2015-09-28 12:55:49', 1, 'blah', '2015-09-28 12:55:49') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:49' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:49' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 08:55:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 6ms (Views: 4.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 2015-09-28 08:55:49 -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", "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', '2015-09-28 12:55:49', 'delivery_man', '2015-09-28 12:55:49')  (5.6ms) COMMIT Redirected to http://127.0.0.1:65357/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 10ms (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 2015-09-28 08:55:49 -0400 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.3ms) 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.5ms) Completed 200 OK in 13ms (Views: 6.5ms | ActiveRecord: 2.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 12:55:51', '2015-09-28 12:55:51')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 12:55:51', 'delivery_man', '2015-09-28 12:55:51')  (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 ('2015-09-28 12:55:51', 1, 'blah', '2015-09-28 12:55:51') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:51' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 12:55:51' WHERE `comments`.`id` = 1  (5.9ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:55:51 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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 2015-09-28 08:55:52 -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", "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', '2015-09-28 12:55:52', 'delivery_man', '2015-09-28 12:55:52')  (4.8ms) COMMIT Redirected to http://127.0.0.1:65357/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 9ms (ActiveRecord: 5.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:55:52 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/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  (26.8ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:55:54', '2015-09-28 12:55:54')  (0.6ms) 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 ('2015-09-28 12:55:54', 1, 'blah', '2015-09-28 12:55:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:55:54' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 08:55:54 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:55:54', '2015-09-28 12:55:54')  (0.5ms) 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 ('2015-09-28 12:55:54', 1, 'blah', '2015-09-28 12:55:54') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:55:54' 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 2015-09-28 08:55:54 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `comments`;  (3.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:55:56', '2015-09-28 12:55:56')  (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 ('2015-09-28 12:55:56', 1, 'blah', '2015-09-28 12:55:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:55:56' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 08:55:56 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.5ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 08:55:57 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.0ms) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:55:57', '2015-09-28 12:55:57')  (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 ('2015-09-28 12:55:57', 1, 'blah', '2015-09-28 12:55:57') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:55:57' 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 2015-09-28 08:55:57 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-28 08:55:59 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.3ms) TRUNCATE TABLE `comments`;  (3.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:55:59', '2015-09-28 12:55:59')  (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 ('2015-09-28 12:55:59', 1, 'blah', '2015-09-28 12:55:59') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:55:59' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 08:55:59 -0400 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/nickdemers/Documents/Projects/workspace/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 GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 08:55:59 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (4.3ms) TRUNCATE TABLE `dummy_models`;  (3.4ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:56:00', '2015-09-28 12:56:00')  (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 ('2015-09-28 12:56:00', 1, 'blah', '2015-09-28 12:56:00') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:56:00' 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 2015-09-28 08:56:00 -0400 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/nickdemers/Documents/Projects/workspace/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=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:56:00 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:56:02', '2015-09-28 12:56:02')  (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 ('2015-09-28 12:56:02', 1, 'blah', '2015-09-28 12:56:02') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:56:02' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 08:56:02 -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/nickdemers/Documents/Projects/workspace/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=true" for 127.0.0.1 at 2015-09-28 08:56:02 -0400 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.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-09-28 12:56:02', '2015-09-28 12:56:02')  (0.3ms) COMMIT Redirected to http://127.0.0.1:65357/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 08:56:02 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.1ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 12:56:04', '2015-09-28 12:56:04')  (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 ('2015-09-28 12:56:04', 1, 'blah', '2015-09-28 12:56:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 12:56:04' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new?display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:56:04 -0400 Processing by Commenteux::NotesController#new 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:56:05 -0400 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', '2015-09-28 12:56:05', '2015-09-28 12:56:05')  (0.2ms) COMMIT Redirected to http://127.0.0.1:65357/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 08:56:05 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/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  (27.1ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:01:13', '2015-09-28 13:01:13')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:01:13', 'delivery_man', '2015-09-28 13:01:13')  (1.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.2ms) SELECT `comments`.* FROM `comments` WHERE `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 ('2015-09-28 13:01:13', 1, 'blah', '2015-09-28 13:01:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:01:13' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:01:13' WHERE `comments`.`id` = 1  (0.7ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:01:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (43.1ms) Completed 200 OK in 71ms (Views: 60.3ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:01:15 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:01:15 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:01:15 -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", "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', '2015-09-28 13:01:15', 'delivery_man', '2015-09-28 13:01:15')  (0.4ms) COMMIT Redirected to http://127.0.0.1:50107/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-28 09:01:15 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.8ms)  (0.1ms) 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.8ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:01:35', '2015-09-28 13:01:35')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:01:35', 'delivery_man', '2015-09-28 13:01:35')  (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 ('2015-09-28 13:01:35', 1, 'blah', '2015-09-28 13:01:35') SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:01:35' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:01:35' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:01: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.6ms) Completed 200 OK in 177ms (Views: 166.4ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:01:37 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:01:37 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:01:37 -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", "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.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-09-28 13:01:37', 'delivery_man', '2015-09-28 13:01:37')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50228/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 6ms (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 2015-09-28 09:01:37 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (5.6ms) Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.3ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:04:34', '2015-09-28 13:04:34')  (0.8ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:04:34', 'delivery_man', '2015-09-28 13:04:34')  (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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 13:04:34', 1, 'blah', '2015-09-28 13:04:34') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:04:34' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:04: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 2015-09-28 09:04: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (52.9ms) Completed 200 OK in 222ms (Views: 192.3ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:04:36 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:04:36 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:04:37 -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", "display_list_notes"=>"true", "resource"=>"dummy_model", "resource_id"=>"1"} DummyModel Load (5.0ms) SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1  (0.6ms) BEGIN SQL (32.7ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 13:04:46', 'delivery_man', '2015-09-28 13:04:46')  (0.6ms) COMMIT Redirected to http://127.0.0.1:50361/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 50411ms (ActiveRecord: 38.9ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:05:27 -0400 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 (3.2ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (13.0ms) Completed 200 OK in 13166ms (Views: 21.8ms | ActiveRecord: 6.0ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.2ms) SELECT DATABASE() as db  (6.9ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (17.4ms) 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.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:06:47', '2015-09-28 13:06:47')  (0.7ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:06:47', 'delivery_man', '2015-09-28 13:06:47')  (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 ('2015-09-28 13:06:47', 1, 'blah', '2015-09-28 13:06:47') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:06:47' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:06:47' WHERE `comments`.`id` = 1  (0.6ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:06:49 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (38.1ms) Completed 200 OK in 68ms (Views: 55.3ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:06:49 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:06:49 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:06:49 -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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 13:06:49', 'delivery_man', '2015-09-28 13:06:49')  (0.3ms) COMMIT Redirected to http://127.0.0.1:50513/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-28 09:06:49 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (7.6ms) Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 0.9ms)  (0.1ms) 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'  (20.0ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:13:27', '2015-09-28 13:13:27')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:13:27', 'delivery_man', '2015-09-28 13:13:27')  (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 ('2015-09-28 13:13:27', 1, 'blah', '2015-09-28 13:13:27') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:13:27' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:13:27' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:13:29 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (36.9ms) Completed 200 OK in 194ms (Views: 181.7ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:13:29 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:13:29 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:13:29 -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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 13:13:29', 'delivery_man', '2015-09-28 13:13:29')  (0.4ms) COMMIT Redirected to http://127.0.0.1:50750/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 6ms (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 2015-09-28 09:13:29 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.7ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.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'  (21.1ms) TRUNCATE TABLE `comments`;  (3.3ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:14:02', '2015-09-28 13:14:02')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:14:02', 'delivery_man', '2015-09-28 13:14:02')  (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.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 13:14:02', 1, 'blah', '2015-09-28 13:14:02') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:14:02' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:14: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 2015-09-28 09:14:04 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.4ms) Completed 200 OK in 190ms (Views: 177.5ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:14:04 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:14:04 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:14:04 -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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 13:14:04', 'delivery_man', '2015-09-28 13:14:04')  (0.6ms) COMMIT Redirected to http://127.0.0.1:50869/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 6ms (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 2015-09-28 09:14:05 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.8ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:23:12', '2015-09-28 13:23:12')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:23:12', 'delivery_man', '2015-09-28 13:23: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  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 13:23:12', 1, 'blah', '2015-09-28 13:23:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:23:12' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:23:12' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:23:14 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.6ms) Completed 200 OK in 193ms (Views: 179.5ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:23:14 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:23:14 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:23:14 -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", "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.1ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 13:23:14', 'delivery_man', '2015-09-28 13:23:14')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51134/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-28 09:23:14 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (2.9ms) Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.9ms)  (0.1ms) 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'  (21.1ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:24:33', '2015-09-28 13:24:33')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:24:33', 'delivery_man', '2015-09-28 13:24:33')  (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 ('2015-09-28 13:24:33', 1, 'blah', '2015-09-28 13:24:33') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:24:33' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:24:33' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:24:34 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.5ms) Completed 200 OK in 184ms (Views: 171.2ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:24:34 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:24:34 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:24:35 -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", "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', '2015-09-28 13:24:35', 'delivery_man', '2015-09-28 13:24:35')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51264/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-28 09:24:35 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms) Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.5ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (19.9ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:25:48', '2015-09-28 13:25:48')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:25:48', 'delivery_man', '2015-09-28 13:25:48')  (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 ('2015-09-28 13:25:48', 1, 'blah', '2015-09-28 13:25:48') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:25:48' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:25:48' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:25:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (39.2ms) Completed 200 OK in 194ms (Views: 182.3ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:25:50 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:25:50 -0400 Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:25: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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 13:25:51', 'delivery_man', '2015-09-28 13:25:51')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51445/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 5ms (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 2015-09-28 09:25:51 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (3.4ms) Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.7ms) Comment Load (0.4ms) 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  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.8ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:19', '2015-09-28 13:27:19')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:19', 'delivery_man', '2015-09-28 13:27:19')  (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 ('2015-09-28 13:27:19', 1, 'blah', '2015-09-28 13:27:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:19' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:19' WHERE `comments`.`id` = 1  (0.4ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:27:20 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.3ms) Completed 200 OK in 133ms (Views: 119.3ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 09:27:20 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:20 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (6.3ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (20.5ms) TRUNCATE TABLE `comments`;  (3.6ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:21', '2015-09-28 13:27:21')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:21', 'delivery_man', '2015-09-28 13:27:21')  (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 ('2015-09-28 13:27:21', 1, 'blah', '2015-09-28 13:27:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:21' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27: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 2015-09-28 09:27:21 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.6ms) TRUNCATE TABLE `comments`;  (3.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:23', '2015-09-28 13:27:23')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:23', 'delivery_man', '2015-09-28 13:27:23')  (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 ('2015-09-28 13:27:23', 1, 'blah', '2015-09-28 13:27:23') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:23' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:23' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:27:23 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:23 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (34.6ms) Completed 200 OK in 41ms (Views: 38.9ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `comments`;  (3.8ms) TRUNCATE TABLE `dummy_models`;  (3.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:24', '2015-09-28 13:27:24')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:24', 'delivery_man', '2015-09-28 13:27:24')  (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 ('2015-09-28 13:27:24', 1, 'blah', '2015-09-28 13:27:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27: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 2015-09-28 09:27:24 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (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 2015-09-28 09:27:26 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.7ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (22.1ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:26', '2015-09-28 13:27:26')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:26', 'delivery_man', '2015-09-28 13:27:26')  (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 ('2015-09-28 13:27:26', 1, 'blah', '2015-09-28 13:27:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27: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 2015-09-28 09:27:26 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:26 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.0ms) Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:26', '2015-09-28 13:27:26')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:26', 'delivery_man', '2015-09-28 13:27:26')  (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 ('2015-09-28 13:27:26', 1, 'blah', '2015-09-28 13:27:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:26' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:26' 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 2015-09-28 09:27:26 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 09:27:27 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.1ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:29', '2015-09-28 13:27:29')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:29', 'delivery_man', '2015-09-28 13:27: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  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 13:27:29', 1, 'blah', '2015-09-28 13:27:29') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:29' WHERE `comments`.`id` = 2 SQL (0.4ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:29' WHERE `comments`.`id` = 1  (0.5ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 09:27:29 -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/nickdemers/Documents/Projects/workspace/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&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:29 -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", "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', '2015-09-28 13:27:29', 'delivery_man', '2015-09-28 13:27:29')  (4.9ms) COMMIT Redirected to http://127.0.0.1:51545/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 9ms (ActiveRecord: 5.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:29 -0400 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.5ms) Completed 200 OK in 12ms (Views: 8.0ms | 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.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (3.0ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 13:27:30', '2015-09-28 13:27:30')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 13:27:30', 'delivery_man', '2015-09-28 13:27:30')  (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 ('2015-09-28 13:27:30', 1, 'blah', '2015-09-28 13:27:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:30' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 13:27:30' 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 2015-09-28 09:27:30 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (6.2ms) Completed 200 OK in 14ms (Views: 11.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 2015-09-28 09:27: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", "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', '2015-09-28 13:27:30', 'delivery_man', '2015-09-28 13:27:30')  (4.8ms) COMMIT Redirected to http://127.0.0.1:51545/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 9ms (ActiveRecord: 5.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 09:27:30 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:32', '2015-09-28 13:27:32')  (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 ('2015-09-28 13:27:32', 1, 'blah', '2015-09-28 13:27:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:32' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 09:27:32 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:32 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (3.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:32', '2015-09-28 13:27:32')  (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 ('2015-09-28 13:27:32', 1, 'blah', '2015-09-28 13:27:32') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:32' 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 2015-09-28 09:27:32 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-28 09:27:32 -0400  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:35', '2015-09-28 13:27:35')  (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 ('2015-09-28 13:27:35', 1, 'blah', '2015-09-28 13:27:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:35' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 09:27:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:35 -0400 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:35 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `comments`;  (3.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:35', '2015-09-28 13:27:35')  (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 ('2015-09-28 13:27:35', 1, 'blah', '2015-09-28 13:27:35') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:35' 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 2015-09-28 09:27:35 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:35 -0400 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 09:27:37 -0400 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/nickdemers/Documents/Projects/workspace/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  (27.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:37', '2015-09-28 13:27:37')  (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 ('2015-09-28 13:27:37', 1, 'blah', '2015-09-28 13:27:37') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:37' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 09:27:37 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:37 -0400 Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:37 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (3.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:38', '2015-09-28 13:27:38')  (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 ('2015-09-28 13:27:38', 1, 'blah', '2015-09-28 13:27:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:38' 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 2015-09-28 09:27:38 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-28 09:27:38 -0400 Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 09:27:38 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.5ms) TRUNCATE TABLE `comments`;  (3.2ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:40', '2015-09-28 13:27:40')  (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 ('2015-09-28 13:27:40', 1, 'blah', '2015-09-28 13:27:40') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:40' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 09:27:40 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:40 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:40 -0400 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.5ms) 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-09-28 13:27:40', '2015-09-28 13:27:40')  (0.3ms) COMMIT Redirected to http://127.0.0.1:51545/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 09:27:40 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.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  (27.0ms) TRUNCATE TABLE `comments`;  (2.9ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 13:27:41', '2015-09-28 13:27:41')  (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 ('2015-09-28 13:27:41', 1, 'blah', '2015-09-28 13:27:41') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 13:27:41' 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 2015-09-28 09:27:41 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 09:27:41 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 09:27:41 -0400 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', '2015-09-28 13:27:41', '2015-09-28 13:27:41')  (0.4ms) COMMIT Redirected to http://127.0.0.1:51545/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 09:27:41 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.1ms) TRUNCATE TABLE `dummy_models`;  (1.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) 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.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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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&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", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 8ms (Views: 7.2ms | 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 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: 4.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 1ms (Views: 1.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 4ms (Views: 3.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  (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.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"}, "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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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 14ms (Views: 13.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 6ms (Views: 0.8ms | 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) 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#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.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 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 5ms (Views: 4.8ms | 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:04', '2015-09-28 16:17:04')  (7.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:04', 'delivery_man', '2015-09-28 16:17:04')  (8.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.2ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 16:17:04', 1, 'blah', '2015-09-28 16:17:04') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:04' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:04' WHERE `comments`.`id` = 1  (10.6ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:17:06 -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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (6.4ms) Completed 200 OK in 45ms (Views: 30.9ms | ActiveRecord: 2.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 12:17:07 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 12:17:07 -0400  (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'  (18.8ms) TRUNCATE TABLE `comments`;  (2.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:07', '2015-09-28 16:17:07')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:07', 'delivery_man', '2015-09-28 16:17:07')  (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 ('2015-09-28 16:17:07', 1, 'blah', '2015-09-28 16:17:07') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:07' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17: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 2015-09-28 12:17:07 -0400 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/nickdemers/Documents/Projects/workspace/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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `comments`;  (3.2ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:09', '2015-09-28 16:17:09')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:09', 'delivery_man', '2015-09-28 16:17:09')  (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 ('2015-09-28 16:17:09', 1, 'blah', '2015-09-28 16:17:09') SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:09' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:09' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:17:09 -0400 Processing by Commenteux::NotesController#index 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 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:17:10 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (46.5ms) Completed 200 OK in 53ms (Views: 50.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:10', '2015-09-28 16:17:10')  (0.2ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:10', 'delivery_man', '2015-09-28 16:17:10')  (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 ('2015-09-28 16:17:10', 1, 'blah', '2015-09-28 16:17:10') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:10' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:10' 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 2015-09-28 12:17:10 -0400 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/nickdemers/Documents/Projects/workspace/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_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17:12 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (3.0ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.7ms) 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.2ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:12', '2015-09-28 16:17:12')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:12', 'delivery_man', '2015-09-28 16:17: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  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 16:17:12', 1, 'blah', '2015-09-28 16:17:12') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:12' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:12' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:17:12 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.7ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:17:12 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `comments`;  (4.2ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:13', '2015-09-28 16:17:13')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:13', 'delivery_man', '2015-09-28 16:17:13')  (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 ('2015-09-28 16:17:13', 1, 'blah', '2015-09-28 16:17:13') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:13' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:13' 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 2015-09-28 12:17:13 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17:13 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.5ms) TRUNCATE TABLE `comments`;  (2.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:15', '2015-09-28 16:17:15')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:15', 'delivery_man', '2015-09-28 16:17:15')  (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 ('2015-09-28 16:17:15', 1, 'blah', '2015-09-28 16:17:15') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:15' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:15' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:17:15 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 6ms (Views: 4.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 2015-09-28 12:17:15 -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", "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  (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-09-28 16:17:15', 'delivery_man', '2015-09-28 16:17:15')  (9.3ms) COMMIT Redirected to http://127.0.0.1:60182/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 14ms (ActiveRecord: 10.1ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:17:15 -0400 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.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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms) Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 1.3ms) Comment Load (0.4ms) 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  (47.7ms) 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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:17:16', '2015-09-28 16:17:16')  (5.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:17:16', 'delivery_man', '2015-09-28 16:17:16')  (21.8ms) 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.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 ('2015-09-28 16:17:16', 1, 'blah', '2015-09-28 16:17:16') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:16' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:17:16' 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 2015-09-28 12:17:16 -0400 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/nickdemers/Documents/Projects/workspace/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&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17: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", "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', '2015-09-28 16:17:16', 'delivery_man', '2015-09-28 16:17:16')  (4.8ms) COMMIT Redirected to http://127.0.0.1:60182/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 9ms (ActiveRecord: 5.3ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17:16 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:18', '2015-09-28 16:17:18')  (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 ('2015-09-28 16:17:18', 1, 'blah', '2015-09-28 16:17:18') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:18' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 12:17:18 -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.5ms) SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `comments`;  (1.9ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:19', '2015-09-28 16:17:19')  (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 ('2015-09-28 16:17:19', 1, 'blah', '2015-09-28 16:17:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:19' 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 2015-09-28 12:17:19 -0400 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/nickdemers/Documents/Projects/workspace/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  (30.6ms) TRUNCATE TABLE `comments`;  (1.7ms) TRUNCATE TABLE `dummy_models`;  (1.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:21', '2015-09-28 16:17:21')  (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 ('2015-09-28 16:17:21', 1, 'blah', '2015-09-28 16:17:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:21' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 12:17:21 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:17:21 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.6ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:21', '2015-09-28 16:17:21')  (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 ('2015-09-28 16:17:21', 1, 'blah', '2015-09-28 16:17:21') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:21' 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 2015-09-28 12:17:21 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-28 12:17:23 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.1ms) TRUNCATE TABLE `comments`;  (5.1ms) TRUNCATE TABLE `dummy_models`;  (3.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:24', '2015-09-28 16:17:24')  (0.5ms) 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 ('2015-09-28 16:17:24', 1, 'blah', '2015-09-28 16:17:24') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:24' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 12:17:24 -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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:17:24 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `comments`;  (5.2ms) TRUNCATE TABLE `dummy_models`;  (5.5ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:24', '2015-09-28 16:17:24')  (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 ('2015-09-28 16:17:24', 1, 'blah', '2015-09-28 16:17:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:24' 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 2015-09-28 12:17:24 -0400 Processing by Commenteux::NotesController#new 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17:24 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (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  (26.2ms) TRUNCATE TABLE `comments`;  (2.2ms) TRUNCATE TABLE `dummy_models`;  (2.0ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:26', '2015-09-28 16:17:26')  (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 ('2015-09-28 16:17:26', 1, 'blah', '2015-09-28 16:17:26') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:26' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 12:17:26 -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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:17:27 -0400 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', '2015-09-28 16:17:27', '2015-09-28 16:17:27')  (0.3ms) COMMIT Redirected to http://127.0.0.1:60182/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 2015-09-28 12:17:27 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.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  (25.7ms) TRUNCATE TABLE `comments`;  (2.2ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:17:27', '2015-09-28 16:17:27')  (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 ('2015-09-28 16:17:27', 1, 'blah', '2015-09-28 16:17:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:17:27' 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 2015-09-28 12:17:27 -0400 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/nickdemers/Documents/Projects/workspace/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_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17:27 -0400 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', '2015-09-28 16:17:27', '2015-09-28 16:17:27')  (0.3ms) COMMIT Redirected to http://127.0.0.1:60182/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:17:27 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `comments`;  (1.6ms) TRUNCATE TABLE `dummy_models`;  (1.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:39', '2015-09-28 16:54:39')  (6.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:39', 'delivery_man', '2015-09-28 16:54:39')  (12.1ms) 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 ('2015-09-28 16:54:39', 1, 'blah', '2015-09-28 16:54:39') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:39' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:39' WHERE `comments`.`id` = 1  (6.1ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:54:41 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (5.7ms) Completed 200 OK in 156ms (Views: 124.9ms | ActiveRecord: 19.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 12:54:41 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 12:54:41 -0400  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.0ms) select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'  (21.0ms) TRUNCATE TABLE `comments`;  (4.1ms) TRUNCATE TABLE `dummy_models`;  (3.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:42', '2015-09-28 16:54:42')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:42', 'delivery_man', '2015-09-28 16:54:42')  (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 ('2015-09-28 16:54:42', 1, 'blah', '2015-09-28 16:54:42') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:42' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:42' 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 2015-09-28 12:54:42 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.3ms) TRUNCATE TABLE `comments`;  (14.7ms) TRUNCATE TABLE `dummy_models`;  (19.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:44', '2015-09-28 16:54:44')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:44', 'delivery_man', '2015-09-28 16:54:44')  (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 ('2015-09-28 16:54:44', 1, 'blah', '2015-09-28 16:54:44') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:44' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:44' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:54:44 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.6ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:54:44 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (89.3ms) Completed 200 OK in 96ms (Views: 94.2ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:44', '2015-09-28 16:54:44')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:44', 'delivery_man', '2015-09-28 16:54:44')  (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 ('2015-09-28 16:54:44', 1, 'blah', '2015-09-28 16:54:44') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:44' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:44' 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 2015-09-28 12:54:44 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms) 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 2015-09-28 12:54:47 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.8ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (20.0ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:47', '2015-09-28 16:54:47')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:47', 'delivery_man', '2015-09-28 16:54:47')  (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 ('2015-09-28 16:54:47', 1, 'blah', '2015-09-28 16:54:47') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:47' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:47' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:54: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.7ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:54:47 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.1ms) Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (2.9ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:47', '2015-09-28 16:54:47')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:47', 'delivery_man', '2015-09-28 16:54:47')  (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 ('2015-09-28 16:54:47', 1, 'blah', '2015-09-28 16:54:47') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:47' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:47' 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 2015-09-28 12:54:47 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:54:47 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.6ms) TRUNCATE TABLE `comments`;  (5.0ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:50', '2015-09-28 16:54:50')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:50', 'delivery_man', '2015-09-28 16:54:50')  (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 ('2015-09-28 16:54:50', 1, 'blah', '2015-09-28 16:54:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:50' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:50' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 12:54:50 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) 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 2015-09-28 12:54: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", "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.2ms) INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-09-28 16:54:50', 'delivery_man', '2015-09-28 16:54:50')  (6.1ms) COMMIT Redirected to http://127.0.0.1:62997/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true Completed 302 Found in 10ms (ActiveRecord: 6.6ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:54:50 -0400 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 9ms (Views: 5.6ms | 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.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `comments`;  (3.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 16:54:50', '2015-09-28 16:54:50')  (4.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 16:54:50', 'delivery_man', '2015-09-28 16:54:50')  (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 ('2015-09-28 16:54:50', 1, 'blah', '2015-09-28 16:54:50') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:50' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 16:54:50' 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 2015-09-28 12:54:50 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms) Completed 200 OK in 6ms (Views: 4.0ms | 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 2015-09-28 12:54: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", "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', '2015-09-28 16:54:51', 'delivery_man', '2015-09-28 16:54:51')  (0.4ms) COMMIT Redirected to http://127.0.0.1:62997/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:54:51 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (3.0ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:54:53', '2015-09-28 16:54:53')  (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 ('2015-09-28 16:54:53', 1, 'blah', '2015-09-28 16:54:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:54:53' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 12:54:53 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.1ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:54:53', '2015-09-28 16:54:53')  (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 ('2015-09-28 16:54:53', 1, 'blah', '2015-09-28 16:54:53') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:54:53' 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 2015-09-28 12:54:53 -0400 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/nickdemers/Documents/Projects/workspace/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.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:54:55', '2015-09-28 16:54:55')  (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 ('2015-09-28 16:54:55', 1, 'blah', '2015-09-28 16:54:55') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:54:55' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 12:54:55 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:54:56 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms) Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `comments`;  (3.1ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:54:56', '2015-09-28 16:54:56')  (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 ('2015-09-28 16:54:56', 1, 'blah', '2015-09-28 16:54:56') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:54:56' 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 2015-09-28 12:54:56 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 12:54:56 -0400 Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:54:58 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.8ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:54:58', '2015-09-28 16:54:58')  (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 ('2015-09-28 16:54:58', 1, 'blah', '2015-09-28 16:54:58') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:54:58' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 12:54:58 -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/nickdemers/Documents/Projects/workspace/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 2015-09-28 12:54:58 -0400 Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:54:58 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `comments`;  (2.5ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:54:59', '2015-09-28 16:54:59')  (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 ('2015-09-28 16:54:59', 1, 'blah', '2015-09-28 16:54:59') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:54:59' 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 2015-09-28 12:54:59 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-28 12:54:59 -0400 Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:54:59 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:55:01', '2015-09-28 16:55:01')  (0.3ms) COMMIT Comment Load (0.7ms) 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 ('2015-09-28 16:55:01', 1, 'blah', '2015-09-28 16:55:01') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:55:01' WHERE `comments`.`id` = 1  (0.2ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 12:55: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 12:55:01 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 12:55:01 -0400 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', '2015-09-28 16:55:01', '2015-09-28 16:55:01')  (0.4ms) COMMIT Redirected to http://127.0.0.1:62997/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 2015-09-28 12:55:01 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.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  (25.8ms) TRUNCATE TABLE `comments`;  (4.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.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 16:55:01', '2015-09-28 16:55:01')  (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 ('2015-09-28 16:55:01', 1, 'blah', '2015-09-28 16:55:01') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 16:55:01' 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 2015-09-28 12:55:01 -0400 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/nickdemers/Documents/Projects/workspace/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 "/assets/application.js" for 127.0.0.1 at 2015-09-28 12:55:01 -0400 Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:55:02 -0400 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', '2015-09-28 16:55:02', '2015-09-28 16:55:02')  (0.4ms) COMMIT Redirected to http://127.0.0.1:62997/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 12:55:02 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | 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  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.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 ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) 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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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&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.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#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.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.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#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#new as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 1ms (Views: 1.3ms | 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.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.7ms | ActiveRecord: 0.0ms)  (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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 10ms (Views: 9.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.9ms | ActiveRecord: 0.0ms)  (0.2ms) 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.2ms) 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: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 6ms (Views: 5.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.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.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.2ms) 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.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.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"#[RSpec::Mocks::Mock:0x81ef41c0 @name=nil]"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Processing by Commenteux::NotesController#index as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)  (0.2ms) 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: 1.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.2ms) 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.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (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"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) 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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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"}, "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#new as JS Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 12ms (Views: 11.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 6ms (Views: 2.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.5ms | 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.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 5ms (Views: 4.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 2ms (Views: 1.3ms | 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: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) 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.8ms | 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Processing by Commenteux::NotesController#index as HTML Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"} Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 9ms (Views: 8.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.2ms | 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 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.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"}, "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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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 6ms (Views: 5.7ms | 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  (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 11ms (Views: 10.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 4ms (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#index as HTML Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"} Completed 200 OK in 2ms (Views: 1.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 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: {"roles"=>"comments,delivery_man", "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#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"}, "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"}, "display_list_notes"=>"false", "resource"=>"dummy_model", "resource_id"=>"1"} Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&display_list_notes=false 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.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:19', '2015-09-28 17:16:19')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:19', 'delivery_man', '2015-09-28 17:16:19')  (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.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 ('2015-09-28 17:16:19', 1, 'blah', '2015-09-28 17:16:19') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:19' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:19' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 13:16:21 -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.8ms) 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (7.6ms) Completed 200 OK in 164ms (Views: 149.2ms | ActiveRecord: 3.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-28 13:16:21 -0400 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-28 13:16:21 -0400  (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'  (18.4ms) TRUNCATE TABLE `comments`;  (2.3ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:22', '2015-09-28 17:16:22')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:22', 'delivery_man', '2015-09-28 17:16:22')  (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 ('2015-09-28 17:16:22', 1, 'blah', '2015-09-28 17:16:22') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:22' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:22' 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 2015-09-28 13:16:22 -0400 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/nickdemers/Documents/Projects/workspace/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  (26.0ms) TRUNCATE TABLE `comments`;  (3.5ms) TRUNCATE TABLE `dummy_models`;  (2.9ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:24', '2015-09-28 17:16:24')  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:24', 'delivery_man', '2015-09-28 17:16:24')  (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.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 ('2015-09-28 17:16:24', 1, 'blah', '2015-09-28 17:16:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:24' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:24' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 13:16: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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 19.8ms) Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 13:16:24 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (69.9ms) Completed 200 OK in 78ms (Views: 75.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `comments`;  (4.7ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:24', '2015-09-28 17:16:24')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:24', 'delivery_man', '2015-09-28 17:16:24')  (0.4ms) COMMIT 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.2ms) SELECT `comments`.* FROM `comments` WHERE `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 ('2015-09-28 17:16:24', 1, 'blah', '2015-09-28 17:16:24') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:24' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16: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 2015-09-28 13:16:24 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 3ms (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 2015-09-28 13:16:27 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb (3.5ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `comments`;  (3.4ms) TRUNCATE TABLE `dummy_models`;  (3.3ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:27', '2015-09-28 17:16:27')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:27', 'delivery_man', '2015-09-28 17:16:27')  (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 ('2015-09-28 17:16:27', 1, 'blah', '2015-09-28 17:16:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:27' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:27' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 13:16:27 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (4.5ms) Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=true" for 127.0.0.1 at 2015-09-28 13:16:27 -0400 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.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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.2ms) Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (21.1ms) 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.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:27', '2015-09-28 17:16:27')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:27', 'delivery_man', '2015-09-28 17:16:27')  (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 ('2015-09-28 17:16:27', 1, 'blah', '2015-09-28 17:16:27') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:27' WHERE `comments`.`id` = 2 SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16: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 2015-09-28 13:16:27 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 13:16:27 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `comments`;  (2.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:30', '2015-09-28 17:16:30')  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:30', 'delivery_man', '2015-09-28 17:16:30')  (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 ('2015-09-28 17:16:30', 1, 'blah', '2015-09-28 17:16:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:30' WHERE `comments`.`id` = 2 SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:30' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-09-28 13:16: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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.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 2015-09-28 13:16: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", "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', '2015-09-28 17:16:30', 'delivery_man', '2015-09-28 17:16:30')  (0.4ms) COMMIT Redirected to http://127.0.0.1:64175/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 2015-09-28 13:16:30 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (1.6ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.6ms) 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.5ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (3.1ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 1 administrateur', 'DummyModel', '2015-09-28 17:16:30', '2015-09-28 17:16:30')  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('note 2 livreur', 'DummyModel', '2015-09-28 17:16:30', 'delivery_man', '2015-09-28 17:16:30')  (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 ('2015-09-28 17:16:30', 1, 'blah', '2015-09-28 17:16:30') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:30' WHERE `comments`.`id` = 2 SQL (0.1ms) UPDATE `comments` SET `commentable_id` = 1, `updated_at` = '2015-09-28 17:16:30' 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 2015-09-28 13:16:30 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 6ms (Views: 3.7ms | 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 2015-09-28 13:16:31 -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", "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.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-09-28 17:16:31', 'delivery_man', '2015-09-28 17:16:31')  (4.8ms) COMMIT Redirected to http://127.0.0.1:64175/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false Completed 302 Found in 9ms (ActiveRecord: 5.4ms) Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man&display_list_notes=false" for 127.0.0.1 at 2015-09-28 13:16:31 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms) 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  (26.4ms) TRUNCATE TABLE `comments`;  (3.4ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:33', '2015-09-28 17:16:33')  (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 ('2015-09-28 17:16:33', 1, 'blah', '2015-09-28 17:16:33') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:33' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 13:16:33 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `comments`;  (1.8ms) TRUNCATE TABLE `dummy_models`;  (1.6ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:33', '2015-09-28 17:16:33')  (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 ('2015-09-28 17:16:33', 1, 'blah', '2015-09-28 17:16:33') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:33' 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 2015-09-28 13:16:33 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.5ms) TRUNCATE TABLE `comments`;  (3.1ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:35', '2015-09-28 17:16:35')  (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 ('2015-09-28 17:16:35', 1, 'blah', '2015-09-28 17:16:35') SQL (0.3ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:35' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-09-28 13:16:35 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms) Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 13:16:36 -0400 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/nickdemers/Documents/Projects/workspace/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  (27.0ms) TRUNCATE TABLE `comments`;  (2.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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:36', '2015-09-28 17:16:36')  (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 ('2015-09-28 17:16:36', 1, 'blah', '2015-09-28 17:16:36') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:36' 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 2015-09-28 13:16:36 -0400 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/nickdemers/Documents/Projects/workspace/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 2015-09-28 13:16:38 -0400 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/nickdemers/Documents/Projects/workspace/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  (25.7ms) TRUNCATE TABLE `comments`;  (2.8ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:38', '2015-09-28 17:16:38')  (0.3ms) COMMIT Comment Load (0.5ms) 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 ('2015-09-28 17:16:38', 1, 'blah', '2015-09-28 17:16:38') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:38' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 13:16:38 -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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 13:16:38 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `comments`;  (2.6ms) TRUNCATE TABLE `dummy_models`;  (2.7ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:39', '2015-09-28 17:16:39')  (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 ('2015-09-28 17:16:39', 1, 'blah', '2015-09-28 17:16:39') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:39' 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 2015-09-28 13:16:39 -0400 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/nickdemers/Documents/Projects/workspace/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 "/commenteux/dummy_no_role_model/1?parent_div=null&parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 13:16:39 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `comments`;  (2.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:41', '2015-09-28 17:16:41')  (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.3ms) BEGIN SQL (0.2ms) INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-09-28 17:16:41', 1, 'blah', '2015-09-28 17:16:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:41' WHERE `comments`.`id` = 1  (0.3ms) COMMIT Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-09-28 13:16:41 -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/nickdemers/Documents/Projects/workspace/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 POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 13:16:41 -0400 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.5ms) 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-09-28 17:16:41', '2015-09-28 17:16:41')  (0.3ms) COMMIT Redirected to http://127.0.0.1:64175/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=true" for 127.0.0.1 at 2015-09-28 13:16:41 -0400 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 Rendered /Users/nickdemers/Documents/Projects/workspace/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`.`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  (24.9ms) TRUNCATE TABLE `comments`;  (1.8ms) 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 `comments` (`comment`, `commentable_type`, `created_at`, `updated_at`) VALUES ('note 3 administrateur', 'DummyNonRoleModel', '2015-09-28 17:16:41', '2015-09-28 17:16:41')  (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 ('2015-09-28 17:16:41', 1, 'blah', '2015-09-28 17:16:41') SQL (0.2ms) UPDATE `comments` SET `commentable_id` = 1, `commentable_type` = 'DummyNoRoleModel', `updated_at` = '2015-09-28 17:16:41' 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 2015-09-28 13:16:41 -0400 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 7ms (Views: 4.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 2015-09-28 13:16:42 -0400 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', '2015-09-28 17:16:42', '2015-09-28 17:16:42')  (0.3ms) COMMIT Redirected to http://127.0.0.1:64175/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=&display_list_notes=false" for 127.0.0.1 at 2015-09-28 13:16:42 -0400 Processing by Commenteux::NotesController#index as JS 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/nickdemers/Documents/Projects/workspace/commenteux/app/views/commenteux/notes/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | 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  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `comments`;  (2.7ms) TRUNCATE TABLE `dummy_models`;  (2.8ms) TRUNCATE TABLE `dummy_no_role_models`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1