spec/dummy/log/test.log in commenteux-1.1.2 vs spec/dummy/log/test.log in commenteux-1.1.3
- old
+ new
@@ -1,83 +1,2370 @@
- [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (14.4ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
+ [1m[35m (18.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
+Migrating to CreateDummyModels (20140311235439)
+ [1m[35m (11.2ms)[0m CREATE TABLE `dummy_models` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `text` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20140311235439')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Migrating to CreateComments (20140312000846)
+ [1m[35m (9.2ms)[0m 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
+ [1m[36m (12.1ms)[0m [1mCREATE INDEX `index_comments_on_commentable_type` ON `comments` (`commentable_type`) [0m
+ [1m[35m (17.4ms)[0m CREATE INDEX `index_comments_on_commentable_id` ON `comments` (`commentable_id`)
+ [1m[36m (13.4ms)[0m [1mCREATE INDEX `index_comments_on_user_id` ON `comments` (`user_id`) [0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20140312000846')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-10 19:35:43', 1, 'blah', '2015-06-10 19:35:43')
+Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-10 15:35:43 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 171ms (Views: 124.0ms | ActiveRecord: 19.6ms)
+ [1m[36m (5.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-10 19:35:43', 1, 'blah', '2015-06-10 19:35:43')[0m
+Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-10 15:35:43 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m COMMIT
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-10 19:35:43', 1, 'blah', '2015-06-10 19:35:43')
+Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-10 15:35:43 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (61.7ms)
+Completed 200 OK in 70ms (Views: 63.2ms | ActiveRecord: 0.5ms)
+Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-10 15:35:44 -0400
Processing by Commenteux::NotesController#create as HTML
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-10 19:35:44', '2015-06-10 19:35:44')[0m
+Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=
+Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
+Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-10 15:35:44 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.1ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
+ [1m[36m (6.1ms)[0m [1mROLLBACK[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Commenteux::NotesController#new as JS
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36mActiveRecord::SchemaMigration Load (26.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
-Processing by Commenteux::NotesController#index as HTML
+Processing by Commenteux::NotesController#new as JS
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
-Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)
+Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
Processing by Commenteux::NotesController#index as JS
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
-Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
[1m[35m (0.2ms)[0m BEGIN
-Processing by Commenteux::NotesController#new as HTML
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Commenteux::NotesController#index as JS
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
-Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
+Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
Processing by Commenteux::NotesController#new as JS
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
-Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (7.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:47', 1, 'blah', '2015-06-16 12:48:47')
+ [1m[36m (6.5ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:49 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (7.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (71.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 273ms (Views: 134.8ms | ActiveRecord: 106.4ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:48:50 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:48:50 -0400
+ [1m[36m (6.0ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (6.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (11.7ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (9.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.4ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:50', 1, 'blah', '2015-06-16 12:48:50')[0m
+ [1m[35m (0.4ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:50 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (44.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (14.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m COMMIT
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:52', 1, 'blah', '2015-06-16 12:48:52')
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:52 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (51.2ms)
+Completed 200 OK in 58ms (Views: 52.3ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (28.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:48:58', 1, 'blah', '2015-06-16 12:48:58')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2014-03-21 14:06:33', 1, 'blah', '2014-03-21 14:06:33')
-Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:06:33 -0400
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 12:48:58', 'delivery_man', '2015-06-16 12:48:58')
+ [1m[36m (12.0ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:64190/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 17ms (ActiveRecord: 12.6ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.4ms)
+Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (27.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (28.6ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (20.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (24.5ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:50:56', 1, 'blah', '2015-06-16 12:50:56')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
Processing by Commenteux::NotesController#index as HTML
- Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.1ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 42ms (Views: 12.6ms | ActiveRecord: 2.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (6.6ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (21.0ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:50:58', 1, 'blah', '2015-06-16 12:50:58')[0m
+ [1m[35m (0.5ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms)
+Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (36.2ms)
+Completed 200 OK in 47ms (Views: 39.7ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (3.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:50:58', 1, 'blah', '2015-06-16 12:50:58')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)
+Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (3.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:51:01', 1, 'blah', '2015-06-16 12:51:01')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 12:51:01', 'delivery_man', '2015-06-16 12:51:01')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:64534/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
+Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (27.1ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (3.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (1.9ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (1.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
+Migrating to CreateDummyNoRoleModels (20150612102101)
+ [1m[35m (35.7ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20150612102101')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:05', 1, 'blah', '2015-06-16 12:55:05')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 49ms (Views: 14.4ms | ActiveRecord: 2.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:07', 1, 'blah', '2015-06-16 12:55:07')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms)
+Started GET "/commenteux/dummy_model/1/new?parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (37.6ms)
+Completed 200 OK in 47ms (Views: 41.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (3.1ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (1.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (1.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:07', 1, 'blah', '2015-06-16 12:55:07')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)
+Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.5ms)
+Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (3.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:10', 1, 'blah', '2015-06-16 12:55:10')
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
- [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
- Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (307.0ms)
-Completed 200 OK in 433ms (Views: 372.7ms | ActiveRecord: 2.6ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mCOMMIT[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 12:55:10', 'delivery_man', '2015-06-16 12:55:10')[0m
+ [1m[35m (0.4ms)[0m COMMIT
+Redirected to http://127.0.0.1:64590/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms)
+Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (21.4ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2014-03-21 14:06:34', 1, 'blah', '2014-03-21 14:06:34')[0m
-Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:06:34 -0400
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:12', 1, 'blah', '2015-06-16 12:55:12')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
Processing by Commenteux::NotesController#index as HTML
- Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (1.7ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:12', 1, 'blah', '2015-06-16 12:55:12')
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)
+Started GET "/commenteux/dummy_no_role_model/1/new?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms)
+Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (1.9ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 12:55:12', 1, 'blah', '2015-06-16 12:55:12')
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 12:55:12', '2015-06-16 12:55:12')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:64590/commenteux/dummy_no_role_model/1?parent_div=&roles=
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms)
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (24.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (3.8ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m 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')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:38 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (58.8ms)
+Completed 200 OK in 129ms (Views: 86.2ms | ActiveRecord: 2.4ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:59:38 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:59:38 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+Processing by Commenteux::NotesController#create as JS
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Processing by Commenteux::NotesController#create as JS
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (2.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+Processing by Commenteux::NotesController#create as JS
+ [1m[35mDummyModel Load (7.8ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36m (1.6ms)[0m [1mBEGIN[0m
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Processing by Commenteux::NotesController#create as JS
+ [1m[35mSQL (3.1ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')
+ [1m[36m (2.1ms)[0m [1mBEGIN[0m
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mSQL (3.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')[0m
+ [1m[35m (10.2ms)[0m COMMIT
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 49ms (ActiveRecord: 17.6ms)
+ [1m[36mDummyModel Load (5.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (7.6ms)[0m COMMIT
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Completed 302 Found in 56ms (ActiveRecord: 32.7ms)
+ [1m[36mDummyModel Load (4.1ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (3.5ms)[0m BEGIN
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ [1m[36m (21.9ms)[0m [1mBEGIN[0m
+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"}
+ [1m[35mSQL (4.0ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')
+ [1m[36mSQL (13.8ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')[0m
+ [1m[35m (19.8ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+ [1m[35mDummyModel Load (2.7ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+ [1m[36m (8.8ms)[0m [1mCOMMIT[0m
+Completed 302 Found in 67ms (ActiveRecord: 32.9ms)
+ [1m[35mSQL (4.4ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')
+ [1m[36m (0.8ms)[0m [1mBEGIN[0m
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Processing by Commenteux::NotesController#create as JS
+Completed 302 Found in 68ms (ActiveRecord: 41.1ms)
+ [1m[35m (8.5ms)[0m COMMIT
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')[0m
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Processing by Commenteux::NotesController#index as JS
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ [1m[35mDummyModel Load (2.9ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+Completed 302 Found in 68ms (ActiveRecord: 36.8ms)
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.4ms)[0m BEGIN
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Processing by Commenteux::NotesController#index as JS
+ [1m[36mDummyModel Load (3.1ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+Completed 302 Found in 59ms (ActiveRecord: 5.1ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mSQL (3.0ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:26', 'delivery_man', '2015-06-16 13:02:26')
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mComment Load (6.9ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mDummyModel Load (5.8ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mDummyModel Load (8.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (8.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ [1m[36mComment Load (6.7ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35m (20.9ms)[0m COMMIT
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:26 -0400
+ [1m[36mComment Load (8.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+Completed 302 Found in 69ms (ActiveRecord: 27.2ms)
+ [1m[35mComment Load (7.5ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (11.9ms)
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (21.3ms)
+ [1m[36mDummyModel Load (3.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (12.7ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+Completed 200 OK in 70ms (Views: 19.7ms | ActiveRecord: 21.0ms)
+Completed 200 OK in 91ms (Views: 35.1ms | ActiveRecord: 20.0ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.3ms)
+ [1m[36mComment Load (6.6ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+Processing by Commenteux::NotesController#index as JS
+Processing by Commenteux::NotesController#index as JS
+Completed 200 OK in 85ms (Views: 11.2ms | ActiveRecord: 45.4ms)
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400
+ [1m[35mComment Load (4.1ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Processing by Commenteux::NotesController#create as JS
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
+ [1m[36mDummyModel Load (12.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Completed 200 OK in 62ms (Views: 6.7ms | ActiveRecord: 20.8ms)
+ [1m[35mDummyModel Load (0.7ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (3.9ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (4.9ms)[0m 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"}
+ [1m[36mComment Load (4.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms)
+Completed 200 OK in 34ms (Views: 4.0ms | ActiveRecord: 10.1ms)
+ [1m[35mDummyModel Load (9.0ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mDummyModel Load (33.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (1.0ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (25.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
+Completed 200 OK in 69ms (Views: 4.0ms | ActiveRecord: 41.9ms)
+ [1m[35m (11.1ms)[0m BEGIN
+ [1m[36mComment Load (13.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms)
+Completed 200 OK in 42ms (Views: 3.9ms | ActiveRecord: 23.4ms)
+ [1m[35mSQL (7.6ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:02:27', 'delivery_man', '2015-06-16 13:02:27')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 65ms (ActiveRecord: 52.3ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:27 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (1.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (1.1ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms)
+Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 3.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (6.7ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (20.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.1ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:02:46', 1, 'blah', '2015-06-16 13:02:46')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:48 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (59.5ms)
+Completed 200 OK in 241ms (Views: 202.5ms | ActiveRecord: 1.9ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:02:48 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:02:48 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (1.3ms)[0m BEGIN
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:03:43', 'delivery_man', '2015-06-16 13:03:43')[0m
+ [1m[35m (5.6ms)[0m COMMIT
+Redirected to http://127.0.0.1:64849/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 24ms (ActiveRecord: 7.7ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400
+ [1m[36mSQL (3.7ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:03:43', 'delivery_man', '2015-06-16 13:03:43')[0m
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35m (10.8ms)[0m COMMIT
+Redirected to http://127.0.0.1:64849/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 28ms (ActiveRecord: 15.2ms)
+ [1m[36mDummyModel Load (4.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:03:43 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (1.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.6ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.8ms)
+Completed 200 OK in 31ms (Views: 17.6ms | ActiveRecord: 2.2ms)
+ [1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms)
+Completed 200 OK in 54ms (Views: 2.3ms | ActiveRecord: 39.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (3.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:05:11', 1, 'blah', '2015-06-16 13:05:11')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:05:13 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (66.9ms)
+Completed 200 OK in 129ms (Views: 91.3ms | ActiveRecord: 1.9ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:05:13 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:05:13 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+Processing by Commenteux::NotesController#create as JS
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+Processing by Commenteux::NotesController#create as JS
+ [1m[36mDummyModel Load (5.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:08:40', 1, 'blah', '2015-06-16 13:08:40')
+Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:08:40', 1, 'blah', '2015-06-16 13:08:40')
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (16.7ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.6ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:08:52', 1, 'blah', '2015-06-16 13:08:52')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:54 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
- [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
- Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms)
-Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.7ms)
- [1m[35m (0.5ms)[0m ROLLBACK
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (78.3ms)
+Completed 200 OK in 12593ms (Views: 104.3ms | ActiveRecord: 2.5ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:09:07 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:09:07 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:11:58 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.9ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (2.1ms)[0m BEGIN
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:12:42', 'delivery_man', '2015-06-16 13:12:42')[0m
+ [1m[35m (1.1ms)[0m COMMIT
+Redirected to http://127.0.0.1:65152/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 43794ms (ActiveRecord: 4.7ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:12:42 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.1ms)
+Completed 200 OK in 26ms (Views: 13.5ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (3.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:13:24', 1, 'blah', '2015-06-16 13:13:24')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:13:25 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (74.4ms)
+Completed 200 OK in 3068ms (Views: 99.3ms | ActiveRecord: 2.1ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:13:28 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:13:28 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:13:33 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (3.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (1.9ms)[0m BEGIN
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:13:37', 'delivery_man', '2015-06-16 13:13:37')[0m
+ [1m[35m (11.1ms)[0m COMMIT
+Redirected to http://127.0.0.1:65489/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 62985ms (ActiveRecord: 17.6ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:14:36 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.5ms)
+Completed 200 OK in 30ms (Views: 16.0ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (19.6ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.5ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:18:46', 1, 'blah', '2015-06-16 13:18:46')
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:49 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (72.4ms)
+Completed 200 OK in 3654ms (Views: 101.6ms | ActiveRecord: 2.7ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:18:52 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:18:52 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:56 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (4.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:18:57', 'delivery_man', '2015-06-16 13:18:57')[0m
+ [1m[35m (5.5ms)[0m COMMIT
+Redirected to http://127.0.0.1:49216/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 1969ms (ActiveRecord: 11.2ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:58 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (3.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.7ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (1.6ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.6ms)
+Completed 200 OK in 22039ms (Views: 15.8ms | ActiveRecord: 5.5ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (15.6ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m COMMIT
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:19:45', 1, 'blah', '2015-06-16 13:19:45')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.4ms)
+Completed 200 OK in 74ms (Views: 49.9ms | ActiveRecord: 1.7ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:19:47', 'delivery_man', '2015-06-16 13:19:47')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:49277/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (19.9ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.0ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (4.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:20:47', 1, 'blah', '2015-06-16 13:20:47')
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:20:49 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (81.8ms)
+Completed 200 OK in 2842ms (Views: 107.3ms | ActiveRecord: 2.9ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:20:52 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:20:52 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:20:56 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (5.1ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m BEGIN
+ [1m[36mSQL (1.5ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:20:59', 'delivery_man', '2015-06-16 13:20:59')[0m
+ [1m[35m (5.6ms)[0m COMMIT
+Redirected to http://127.0.0.1:49449/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 4828ms (ActiveRecord: 13.1ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:21:01 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.8ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (1.8ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.7ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (48613.2ms)
+Completed 200 OK in 50009ms (Views: 48619.6ms | ActiveRecord: 3.7ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (15.7ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:22:26', 1, 'blah', '2015-06-16 13:22:26')
+ [1m[36m (1.9ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:22:27 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.4ms)
+Completed 200 OK in 2798ms (Views: 103.0ms | ActiveRecord: 3.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:22:30 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:22:30 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:22:38 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (121423.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36mSQL (1.8ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:24:41', 'delivery_man', '2015-06-16 13:24:41')[0m
+ [1m[35m (0.5ms)[0m COMMIT
+Redirected to http://127.0.0.1:49512/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 134804ms (ActiveRecord: 121427.1ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:24:53 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (3.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.6ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9979.1ms)
+Completed 200 OK in 30569ms (Views: 9988.9ms | ActiveRecord: 4.4ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.7ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (18.7ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (4.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:25:57', 1, 'blah', '2015-06-16 13:25:57')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:00 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (84.0ms)
+Completed 200 OK in 6774ms (Views: 114.0ms | ActiveRecord: 2.7ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:26:06 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:26:06 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:11 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (15755.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m BEGIN
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:26:31', 'delivery_man', '2015-06-16 13:26:31')[0m
+ [1m[35m (0.8ms)[0m COMMIT
+Redirected to http://127.0.0.1:49622/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 19213ms (ActiveRecord: 15758.5ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:31 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.8ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.9ms)
+Completed 200 OK in 26ms (Views: 13.4ms | ActiveRecord: 1.4ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (3.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:26:55', 1, 'blah', '2015-06-16 13:26:55')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:57 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (83.7ms)
+Completed 200 OK in 168ms (Views: 115.7ms | ActiveRecord: 2.3ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:26:57 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:26:57 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:27:01 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (3.9ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:27:04', 'delivery_man', '2015-06-16 13:27:04')[0m
+ [1m[35m (0.8ms)[0m COMMIT
+Redirected to http://127.0.0.1:49677/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 9020ms (ActiveRecord: 5.2ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:27:10 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (2.8ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.8ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (1.9ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5291.5ms)
+Completed 200 OK in 12277ms (Views: 5298.8ms | ActiveRecord: 5.4ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (15.5ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:28:46', 1, 'blah', '2015-06-16 13:28:46')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:48 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (82.4ms)
+Completed 200 OK in 172ms (Views: 117.8ms | ActiveRecord: 2.3ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:28:49 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:28:49 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:54 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (3.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:28:56', 'delivery_man', '2015-06-16 13:28:56')[0m
+ [1m[35m (0.9ms)[0m COMMIT
+Redirected to http://127.0.0.1:49799/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 4407ms (ActiveRecord: 4.8ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:58 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.9ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (2.1ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.7ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4335.4ms)
+Completed 200 OK in 59186ms (Views: 4343.5ms | ActiveRecord: 3.8ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.7ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (15.6ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2014-03-21 14:06:34', 1, 'blah', '2014-03-21 14:06:34')
-Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2014-03-21 10:06:34 -0400
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:31:43', 1, 'blah', '2015-06-16 13:31:43')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:45 -0400
Processing by Commenteux::NotesController#new as HTML
- Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (86.8ms)
+Completed 200 OK in 282ms (Views: 231.1ms | ActiveRecord: 2.3ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:31:45 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:31:45 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:50 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (3.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:31:51', 'delivery_man', '2015-06-16 13:31:51')[0m
+ [1m[35m (0.9ms)[0m COMMIT
+Redirected to http://127.0.0.1:49929/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 3131ms (ActiveRecord: 4.8ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:53 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (17047.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.9ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (1.9ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (20095.8ms)
+Completed 200 OK in 43972ms (Views: 20102.5ms | ActiveRecord: 17050.6ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.5ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (15.0ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:33:16', 1, 'blah', '2015-06-16 13:33:16')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:33:18 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (85.9ms)
+Completed 200 OK in 160ms (Views: 114.8ms | ActiveRecord: 1.9ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:33:18 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:33:18 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:47:51 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (2.1ms)[0m BEGIN
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:48:00', 'delivery_man', '2015-06-16 13:48:00')[0m
+ [1m[35m (5.4ms)[0m COMMIT
+Redirected to http://127.0.0.1:50002/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 8669ms (ActiveRecord: 8.6ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:48:00 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 13:48:00', 'delivery_man', '2015-06-16 13:48:00')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:50002/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 16ms (ActiveRecord: 1.5ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:48:00 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (2.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:48:00 -0400
+ [1m[35mComment Load (4.8ms)[0m 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"}
+ [1m[36mComment Load (6.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:49:09', 1, 'blah', '2015-06-16 13:49:09')
+Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:49:09', 1, 'blah', '2015-06-16 13:49:09')
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (31.8ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:49:22', 1, 'blah', '2015-06-16 13:49:22')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:49:24 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4355.4ms)
+Completed 200 OK in 4541ms (Views: 4499.5ms | ActiveRecord: 2.6ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:49:29 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:49:29 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (6.0ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (19.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 13:51:29', 1, 'blah', '2015-06-16 13:51:29')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:51:31 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 64ms (Views: 28.6ms | ActiveRecord: 2.5ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:51:31 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:51:31 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (6.7ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (20.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.9ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:02:50', 1, 'blah', '2015-06-16 14:02:50')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:52 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 64ms (Views: 26.9ms | ActiveRecord: 3.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:02:52 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:02:52 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (3.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:04:35', 1, 'blah', '2015-06-16 14:04:35')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:04:37 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.9ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 70ms (Views: 29.6ms | ActiveRecord: 2.9ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:04:37 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:04:37 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (3.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[35mDummyModel Load (1635937.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1635941.1ms)
+Completed 200 OK in 1635974ms (Views: 1635947.1ms | ActiveRecord: 13.8ms)
+ [1m[36mComment Load (1.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (2.0ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms)
+Completed 200 OK in 1635972ms (Views: 1.9ms | ActiveRecord: 1635957.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (4.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (5.0ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:16:18', 1, 'blah', '2015-06-16 14:16:18')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:20 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.3ms)
+Completed 200 OK in 246ms (Views: 206.9ms | ActiveRecord: 2.6ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:16:21 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:16:21 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:21 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (2.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:16:21', 'delivery_man', '2015-06-16 14:16:21')[0m
+ [1m[35m (0.4ms)[0m COMMIT
+Redirected to http://127.0.0.1:51157/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 19ms (ActiveRecord: 3.2ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:21 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
- Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (71.8ms)
-Completed 200 OK in 114ms (Views: 73.9ms | ActiveRecord: 0.8ms)
-Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:06:34 -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"}
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms)
+Completed 200 OK in 26ms (Views: 13.3ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (4.2ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:17:37', 1, 'blah', '2015-06-16 14:17:37')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2014-03-21 14:06:34', '2014-03-21 14:06:34')[0m
-Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=
-Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
-Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:06:34 -0400
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (77.4ms)
+Completed 200 OK in 243ms (Views: 204.7ms | ActiveRecord: 2.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:17:39', 'delivery_man', '2015-06-16 14:17:39')[0m
+ [1m[35m (6.1ms)[0m COMMIT
+Redirected to http://127.0.0.1:51287/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 25ms (ActiveRecord: 6.8ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms)
+Completed 200 OK in 28ms (Views: 13.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (3.4ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:18:40', 1, 'blah', '2015-06-16 14:18:40')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.1ms)
+Completed 200 OK in 252ms (Views: 209.9ms | ActiveRecord: 2.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (2.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:18:43', 'delivery_man', '2015-06-16 14:18:43')[0m
+ [1m[35m (4.8ms)[0m COMMIT
+Redirected to http://127.0.0.1:51410/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 47ms (ActiveRecord: 7.7ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.0ms)
+Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (3.7ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:19:39', 1, 'blah', '2015-06-16 14:19:39')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:41 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (73.6ms)
+Completed 200 OK in 248ms (Views: 203.5ms | ActiveRecord: 2.1ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:19:41 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:19:41 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:42 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (2.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:19:42', 'delivery_man', '2015-06-16 14:19:42')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:51541/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 45ms (ActiveRecord: 3.0ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:42 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.1ms)
+Completed 200 OK in 29ms (Views: 14.6ms | ActiveRecord: 1.2ms)
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (1.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:21:31', 1, 'blah', '2015-06-16 14:21:31')
+Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:21:31', 1, 'blah', '2015-06-16 14:21:31')
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (15.4ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m 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')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:45 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (70.3ms)
+Completed 200 OK in 247ms (Views: 205.6ms | ActiveRecord: 1.9ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:21:46 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:21:46 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:46 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:21:46', 'delivery_man', '2015-06-16 14:21:46')[0m
+ [1m[35m (0.5ms)[0m COMMIT
+Redirected to http://127.0.0.1:51654/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 23ms (ActiveRecord: 1.5ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:46 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.5ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (11.1ms)
+Completed 200 OK in 41ms (Views: 20.9ms | ActiveRecord: 1.2ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (4.1ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:23:05', 1, 'blah', '2015-06-16 14:23:05')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.6ms)
+Completed 200 OK in 245ms (Views: 205.2ms | ActiveRecord: 2.0ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:23:08', 'delivery_man', '2015-06-16 14:23:08')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:51778/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 21ms (ActiveRecord: 1.1ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.6ms)
+Completed 200 OK in 29ms (Views: 16.6ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:06', 1, 'blah', '2015-06-16 14:28:06')
+Mysql2::Error: Duplicate entry '1' for key 'PRIMARY': INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:06', 1, 'blah', '2015-06-16 14:28:06')
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.1ms)[0m SELECT DATABASE() as db
+ [1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (20.5ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:08', 1, 'blah', '2015-06-16 14:28:08')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:08 -0400
Processing by Commenteux::NotesController#index as HTML
- Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 138ms (Views: 117.1ms | ActiveRecord: 2.4ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:28:08 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:08 -0400
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (25.8ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:11', 1, 'blah', '2015-06-16 14:28:11')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:11 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.8ms)
+Completed 200 OK in 50ms (Views: 44.0ms | ActiveRecord: 0.3ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:11 -0400
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.0ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:16', 1, 'blah', '2015-06-16 14:28:16')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:16 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:28:16', 'delivery_man', '2015-06-16 14:28:16')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:51883/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (1.1ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.9ms)
+Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 1.6ms)
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (25.6ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:19', 1, 'blah', '2015-06-16 14:28:19')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:28:19 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:19 -0400
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (27.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:20', 1, 'blah', '2015-06-16 14:28:20')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:28:20 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:20 -0400
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (27.0ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:28:22', 1, 'blah', '2015-06-16 14:28:22')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
+Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:28:22', '2015-06-16 14:28:22')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:51883/commenteux/dummy_no_role_model/1?parent_div=&roles=
+Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
+Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.1ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms)
+Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms)
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (24.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (4.3ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:12', 1, 'blah', '2015-06-16 14:29:12')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
- [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
- Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.5ms)
-Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.6ms)
- [1m[35mComment Load (0.5ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
- [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 133ms (Views: 108.2ms | ActiveRecord: 2.1ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (6.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (19.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (3.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:14', 1, 'blah', '2015-06-16 14:29:14')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:17', 1, 'blah', '2015-06-16 14:29:17')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:17 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.1ms)
+Completed 200 OK in 43ms (Views: 35.5ms | ActiveRecord: 0.3ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:17 -0400
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (4.0ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:22', 1, 'blah', '2015-06-16 14:29:22')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.5ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:22 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:29:22', 'delivery_man', '2015-06-16 14:29:22')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:52196/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
+Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.7ms)
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.2ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:25', 1, 'blah', '2015-06-16 14:29:25')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:29:25 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:26 -0400
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:26', 1, 'blah', '2015-06-16 14:29:26')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:29:26 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:26 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:29:28', 1, 'blah', '2015-06-16 14:29:28')
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
+Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.3ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:29:28', '2015-06-16 14:29:28')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:52196/commenteux/dummy_no_role_model/1?parent_div=&roles=
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms)
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (27.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:48', 1, 'blah', '2015-06-16 14:30:48')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 42ms (Views: 14.1ms | ActiveRecord: 2.2ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.1ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (19.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:50', 1, 'blah', '2015-06-16 14:30:50')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:53', 1, 'blah', '2015-06-16 14:30:53')
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:53 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.4ms)
+Completed 200 OK in 48ms (Views: 35.7ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (27.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:55', 1, 'blah', '2015-06-16 14:30:55')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:55 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:55 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:30:56', 'delivery_man', '2015-06-16 14:30:56')[0m
+ [1m[35m (11.8ms)[0m COMMIT
+Redirected to http://127.0.0.1:52558/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 45ms (ActiveRecord: 13.0ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:56 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms)
+Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.6ms)
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (26.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:59', 1, 'blah', '2015-06-16 14:30:59')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:30:59 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.3ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (4.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:30:59', 1, 'blah', '2015-06-16 14:30:59')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:30:59 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.3ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:31:01', 1, 'blah', '2015-06-16 14:31:01')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:31:01 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:31:01 -0400
+Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:31:02 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.3ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:31:02', '2015-06-16 14:31:02')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Redirected to http://127.0.0.1:52558/commenteux/dummy_no_role_model/1?parent_div=&roles=
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:31:02 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.1ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms)
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (27.2ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:25', 1, 'blah', '2015-06-16 14:33:25')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.6ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 137ms (Views: 113.7ms | ActiveRecord: 2.6ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (6.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (20.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:27', 1, 'blah', '2015-06-16 14:33:27')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.3ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:30', 1, 'blah', '2015-06-16 14:33:30')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.8ms)
+Completed 200 OK in 41ms (Views: 34.9ms | ActiveRecord: 0.3ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms)
+Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.2ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:30', 1, 'blah', '2015-06-16 14:33:30')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:33:30', 'delivery_man', '2015-06-16 14:33:30')
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:52912/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
+Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.7ms)
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.1ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:33', 1, 'blah', '2015-06-16 14:33:33')[0m
+ [1m[35m (0.5ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (54.0ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:34', 1, 'blah', '2015-06-16 14:33:34')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.3ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.6ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
+ [1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (3.2ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:33:36', 1, 'blah', '2015-06-16 14:33:36')[0m
+ [1m[35m (0.2ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
+Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:33:36', '2015-06-16 14:33:36')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:52912/commenteux/dummy_no_role_model/1?parent_div=&roles=
+Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
+Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms)
+Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms)
+ [1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (26.0ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:31', 1, 'blah', '2015-06-16 14:34:31')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 38ms (Views: 16.7ms | ActiveRecord: 2.2ms)
+Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
+Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.1ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
+ [1m[36m (18.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:33', 1, 'blah', '2015-06-16 14:34:33')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (26.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.9ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:36', 1, 'blah', '2015-06-16 14:34:36')
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.0ms)
+Completed 200 OK in 46ms (Views: 33.2ms | ActiveRecord: 0.4ms)
+Started GET "/commenteux/dummy_model/1?parent_div=null&parent_div=&roles=comments%2Cdelivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.5ms)
+Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.6ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:36', 1, 'blah', '2015-06-16 14:34:36')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `role`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyModel', '2015-06-16 14:34:36', 'delivery_man', '2015-06-16 14:34:36')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:53191/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+Started GET "/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
+ [1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'comments' ORDER BY created_at ASC[0m
+ [1m[35mComment Load (0.2ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' AND `comments`.`role` = 'delivery_man' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms)
+Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.5ms)
+ [1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.9ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:36', 1, 'blah', '2015-06-16 14:34:36')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (25.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (7.6ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:37', 1, 'blah', '2015-06-16 14:34:37')
+ [1m[36m (0.2ms)[0m [1mCOMMIT[0m
+Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:34:37 -0400
+Processing by Commenteux::NotesController#index as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.3ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (26.1ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `dummy_no_role_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('2015-06-16 14:34:39', 1, 'blah', '2015-06-16 14:34:39')[0m
+ [1m[35m (0.3ms)[0m COMMIT
+Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:34:39 -0400
+Processing by Commenteux::NotesController#new as HTML
+ Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[36mDummyNoRoleModel Load (0.2ms)[0m [1mSELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
+Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:34:39 -0400
+Processing by Commenteux::NotesController#create as JS
+ Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.4ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('Ceci est un commentaire', 1, 'DummyNoRoleModel', '2015-06-16 14:34:39', '2015-06-16 14:34:39')
+ [1m[36m (0.3ms)[0m [1mCOMMIT[0m
+Redirected to http://127.0.0.1:53191/commenteux/dummy_no_role_model/1?parent_div=&roles=
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:34:39 -0400
+Processing by Commenteux::NotesController#index as JS
+ Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
+ [1m[35mDummyNoRoleModel Load (0.2ms)[0m SELECT `dummy_no_role_models`.* FROM `dummy_no_role_models` WHERE `dummy_no_role_models`.`id` = 1 LIMIT 1
+ [1m[36mComment Load (0.2ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyNoRoleModel' ORDER BY created_at ASC[0m
+ Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms)
+Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (26.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_models`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.2ms)[0m SELECT DATABASE() as db
+ [1m[36m (1.5ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
+ [1m[35m (7.9ms)[0m TRUNCATE TABLE `comments`;
+ [1m[36m (3.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
+ [1m[35m (3.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
+ [1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m