commenteux 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +19 -1
- data/app/assets/javascripts/commenteux/application.js.coffee +18 -16
- data/app/controllers/commenteux/notes_controller.rb +66 -18
- data/app/helpers/commenteux/notes_helper.rb +5 -3
- data/app/helpers/commenteux/users_helper.rb +11 -0
- data/app/views/commenteux/notes/index.html.erb +13 -4
- data/app/views/commenteux/notes/new.html.erb +11 -2
- data/config/cucumber.yml +2 -0
- data/lib/commenteux/version.rb +1 -1
- data/spec/controllers/commenteux/notes_controller_spec.rb +135 -25
- data/spec/dummy/app/models/dummy_model.rb +1 -1
- data/spec/dummy/app/models/dummy_no_role_model.rb +3 -0
- data/spec/dummy/config/locales/en.yml +2 -0
- data/spec/dummy/db/migrate/20150612102101_create_dummy_no_role_models.rb +10 -0
- data/spec/dummy/db/schema.rb +7 -1
- data/spec/dummy/log/development.log +14 -1142
- data/spec/dummy/log/test.log +2334 -47
- data/spec/dummy/tmp/cache/assets/test/sprockets/{af00b28760a09c0a6fd6fe584cbb839d → 0ea5157d06860900da5e91e9e9e5c5ae} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1961e9a889917e26f9b92f7e3678b9d8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{6e1da15bffb0094059fbe56ddb206c07 → 4c0092a53cfc0cf92b75c45eea8e0c9c} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{1957ff8c0d834428d5beca5bf51669b2 → d47c40f60d1e15e0c67f7f18a27a34e2} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/db2a42fb4a2ea58dddbe086ea7cbd8c3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{9fbd3d6762f09cbefd55f6775cf9bebe → e8a6cef31bf116819ca4efd46d92cf23} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506160848572837541916.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160849002657266256.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506160849005456490075.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506160849006051257852.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160849009617311507.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506160851032943006672.html +49 -0
- data/spec/dummy/tmp/capybara/capybara-201506160851033032648231.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506160851033315623084.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506160851038790165986.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506160855125750188512.html +49 -0
- data/spec/dummy/tmp/capybara/capybara-20150616085514290901703.html +46 -0
- data/spec/dummy/tmp/capybara/capybara-201506160902299004854094.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160903467053840829.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160908177506055011.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506160908405071238114.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506160912457681959819.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160914361347465054.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160919206069916380.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160919495766672705.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160921512325089167.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160925246853939548.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-20150616092631910193376.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506160927256081238729.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160929587747316609.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160932376393920368.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506160949097224889578.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506161015165425533754.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506161017005963312932.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506161018087481300351.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506161018585177596998.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506161021234628016602.html +0 -0
- data/spec/dummy/tmp/capybara/capybara-201506161021316159221359.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506161022216700801596.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506161028066297282377.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201506161028161304521095.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506161029222052955082.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506161030551952925736.html +50 -0
- data/spec/dummy/tmp/capybara/capybara-201506170925205207947945.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-48-57.908.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-48-57.908.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-49-00.472.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-49-00.472.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-51-03.616.html +49 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-51-03.616.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-55-12.417.html +49 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-55-12.417.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-55-14.688.html +46 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-08-55-14.688.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-02-29.270.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-02-29.270.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-03-46.063.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-03-46.063.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-12-46.560.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-12-46.560.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-14-36.456.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-14-36.456.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-19-20.502.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-19-20.502.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-19-49.861.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-19-49.861.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-21-51.126.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-21-51.126.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-25-24.066.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-25-24.066.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-27-25.369.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-27-25.369.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-29-58.010.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-29-58.010.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-32-37.472.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-09-32-37.472.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-17-00.415.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-17-00.415.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-18-08.307.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-18-08.307.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-18-58.249.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-18-58.249.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-22-21.961.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-22-21.961.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-28-16.319.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-28-16.319.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-29-22.339.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-29-22.339.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-30-55.591.html +50 -0
- data/spec/dummy/tmp/capybara/screenshot_2015-06-16-10-30-55.591.png +0 -0
- data/spec/fabricators/comments_frabricator.rb +2 -0
- data/spec/fabricators/dummy_no_role_models_fabricator.rb +3 -0
- data/spec/helpers/commenteux/notes_helper_spec.rb +13 -5
- data/spec/helpers/commenteux/users_helper_spec.rb +14 -0
- metadata +189 -42
- data/spec/dummy/tmp/cache/assets/development/sprockets/078e8a1b7bb61498dbae0070239e8f4c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1957ff8c0d834428d5beca5bf51669b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1961e9a889917e26f9b92f7e3678b9d8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6e1da15bffb0094059fbe56ddb206c07 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9fbd3d6762f09cbefd55f6775cf9bebe +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/af00b28760a09c0a6fd6fe584cbb839d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d72f8bdb1dcb7ea80d1869cb2c6ebbd3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/db2a42fb4a2ea58dddbe086ea7cbd8c3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ec516d6bcfdc219883f1ddb03b5a635b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d72f8bdb1dcb7ea80d1869cb2c6ebbd3 +0 -0
data/spec/dummy/log/test.log
CHANGED
@@ -1,83 +1,2370 @@
|
|
1
|
-
[1m[
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (14.4ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
2
|
+
[1m[35m (18.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
4
|
+
Migrating to CreateDummyModels (20140311235439)
|
5
|
+
[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
|
6
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
7
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20140311235439')
|
8
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
9
|
+
Migrating to CreateComments (20140312000846)
|
10
|
+
[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
|
11
|
+
[1m[36m (12.1ms)[0m [1mCREATE INDEX `index_comments_on_commentable_type` ON `comments` (`commentable_type`) [0m
|
12
|
+
[1m[35m (17.4ms)[0m CREATE INDEX `index_comments_on_commentable_id` ON `comments` (`commentable_id`)
|
13
|
+
[1m[36m (13.4ms)[0m [1mCREATE INDEX `index_comments_on_user_id` ON `comments` (`user_id`) [0m
|
14
|
+
[1m[35m (0.1ms)[0m BEGIN
|
15
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20140312000846')[0m
|
16
|
+
[1m[35m (0.3ms)[0m COMMIT
|
17
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
18
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19
|
+
[1m[35m (0.1ms)[0m COMMIT
|
20
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
21
|
+
[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')
|
22
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-10 15:35:43 -0400
|
23
|
+
Processing by Commenteux::NotesController#index as HTML
|
24
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
25
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
26
|
+
[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
|
27
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms)
|
28
|
+
Completed 200 OK in 171ms (Views: 124.0ms | ActiveRecord: 19.6ms)
|
29
|
+
[1m[36m (5.8ms)[0m [1mROLLBACK[0m
|
30
|
+
[1m[35m (0.1ms)[0m BEGIN
|
31
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
32
|
+
[1m[35m (0.1ms)[0m BEGIN
|
33
|
+
[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
|
34
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2015-06-10 15:35:43 -0400
|
35
|
+
Processing by Commenteux::NotesController#index as HTML
|
36
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
37
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
38
|
+
[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
|
39
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
40
|
+
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)
|
41
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
42
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
43
|
+
[1m[35m (0.1ms)[0m COMMIT
|
44
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
45
|
+
[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')
|
46
|
+
Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-10 15:35:43 -0400
|
47
|
+
Processing by Commenteux::NotesController#new as HTML
|
48
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
49
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
50
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (61.7ms)
|
51
|
+
Completed 200 OK in 70ms (Views: 63.2ms | ActiveRecord: 0.5ms)
|
52
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-10 15:35:44 -0400
|
53
|
+
Processing by Commenteux::NotesController#create as HTML
|
54
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
55
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
56
|
+
[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
|
57
|
+
Redirected to http://www.example.com/commenteux/dummy_model/1?parent_div=
|
58
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
59
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2015-06-10 15:35:44 -0400
|
60
|
+
Processing by Commenteux::NotesController#index as HTML
|
61
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
62
|
+
[1m[35mDummyModel Load (0.1ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
63
|
+
[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
|
64
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.4ms)
|
65
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)
|
66
|
+
[1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
|
67
|
+
[1m[36m (6.1ms)[0m [1mROLLBACK[0m
|
68
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
69
|
+
[1m[35m (0.1ms)[0m BEGIN
|
70
|
+
Processing by Commenteux::NotesController#index as HTML
|
71
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
72
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
73
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
74
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
75
|
+
[1m[35m (0.1ms)[0m BEGIN
|
76
|
+
Processing by Commenteux::NotesController#index as JS
|
77
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
78
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
79
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
80
|
+
[1m[35m (0.1ms)[0m BEGIN
|
81
|
+
Processing by Commenteux::NotesController#new as HTML
|
82
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
83
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
84
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86
|
+
Processing by Commenteux::NotesController#new as JS
|
87
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
88
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
89
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
90
|
+
[1m[35m (0.1ms)[0m BEGIN
|
91
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
92
|
+
[1m[35m (0.1ms)[0m BEGIN
|
93
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
94
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3
95
|
Processing by Commenteux::NotesController#create as HTML
|
4
96
|
Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"}
|
5
97
|
Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div
|
6
98
|
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
99
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
101
|
+
[1m[35m (0.1ms)[0m BEGIN
|
102
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
103
|
+
[1m[36mActiveRecord::SchemaMigration Load (26.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
104
|
+
[1m[35m (0.1ms)[0m BEGIN
|
105
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
106
|
+
[1m[35m (0.1ms)[0m BEGIN
|
107
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
108
|
+
[1m[35m (0.1ms)[0m BEGIN
|
109
|
+
Processing by Commenteux::NotesController#new as HTML
|
110
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
111
|
+
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
7
112
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
8
113
|
[1m[35m (0.1ms)[0m BEGIN
|
9
|
-
Processing by Commenteux::NotesController#
|
114
|
+
Processing by Commenteux::NotesController#new as JS
|
10
115
|
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
11
|
-
Completed 200 OK in
|
116
|
+
Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
117
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
118
|
+
[1m[35m (0.1ms)[0m BEGIN
|
119
|
+
Processing by Commenteux::NotesController#new as HTML
|
120
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
121
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
122
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
123
|
+
[1m[35m (0.1ms)[0m BEGIN
|
124
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
125
|
+
[1m[35m (0.1ms)[0m BEGIN
|
12
126
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
13
127
|
[1m[35m (0.1ms)[0m BEGIN
|
128
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
129
|
+
[1m[35m (0.1ms)[0m BEGIN
|
130
|
+
Processing by Commenteux::NotesController#index as HTML
|
131
|
+
Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
132
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
133
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
134
|
+
[1m[35m (0.1ms)[0m BEGIN
|
14
135
|
Processing by Commenteux::NotesController#index as JS
|
15
136
|
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
16
|
-
Completed 200 OK in
|
17
|
-
[1m[36m (0.
|
137
|
+
Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
138
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139
|
+
[1m[35m (0.1ms)[0m BEGIN
|
140
|
+
Processing by Commenteux::NotesController#index as HTML
|
141
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
142
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
143
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
144
|
+
[1m[35m (0.1ms)[0m BEGIN
|
145
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
146
|
+
[1m[35m (0.1ms)[0m BEGIN
|
147
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
148
|
+
[1m[35m (0.1ms)[0m BEGIN
|
149
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
150
|
+
[1m[35m (0.1ms)[0m BEGIN
|
151
|
+
Processing by Commenteux::NotesController#create as HTML
|
152
|
+
Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"}
|
153
|
+
Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div
|
154
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
155
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
156
|
+
[1m[35m (0.1ms)[0m BEGIN
|
157
|
+
Processing by Commenteux::NotesController#create as HTML
|
158
|
+
Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
159
|
+
Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man
|
160
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
161
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
162
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
18
163
|
[1m[35m (0.2ms)[0m BEGIN
|
19
|
-
|
164
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
165
|
+
[1m[35m (0.1ms)[0m BEGIN
|
166
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
167
|
+
[1m[35m (0.1ms)[0m BEGIN
|
168
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
169
|
+
[1m[35m (0.1ms)[0m BEGIN
|
170
|
+
Processing by Commenteux::NotesController#index as JS
|
20
171
|
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
21
|
-
Completed 200 OK in
|
172
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
173
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
174
|
+
[1m[35m (0.1ms)[0m BEGIN
|
175
|
+
Processing by Commenteux::NotesController#index as HTML
|
176
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
177
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
178
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
179
|
+
[1m[35m (0.1ms)[0m BEGIN
|
180
|
+
Processing by Commenteux::NotesController#index as HTML
|
181
|
+
Parameters: {"roles"=>"comment,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
182
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
183
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
184
|
+
[1m[35m (0.1ms)[0m BEGIN
|
185
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
186
|
+
[1m[35m (0.1ms)[0m BEGIN
|
22
187
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
23
188
|
[1m[35m (0.1ms)[0m BEGIN
|
24
189
|
Processing by Commenteux::NotesController#new as JS
|
25
190
|
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
26
|
-
Completed 200 OK in
|
27
|
-
[1m[36m (0.
|
191
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
192
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
28
193
|
[1m[35m (0.1ms)[0m BEGIN
|
29
|
-
|
194
|
+
Processing by Commenteux::NotesController#new as HTML
|
195
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
196
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
197
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
198
|
+
[1m[35m (0.1ms)[0m BEGIN
|
199
|
+
Processing by Commenteux::NotesController#new as HTML
|
200
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
201
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
202
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
203
|
+
[1m[35m (0.1ms)[0m BEGIN
|
204
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
205
|
+
[1m[35m (0.1ms)[0m BEGIN
|
206
|
+
Processing by Commenteux::NotesController#create as HTML
|
207
|
+
Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire", "role"=>"delivery_man"}, "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
208
|
+
Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div&roles=comments,delivery_man
|
209
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
210
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
211
|
+
[1m[35m (0.1ms)[0m BEGIN
|
212
|
+
Processing by Commenteux::NotesController#create as HTML
|
213
|
+
Parameters: {"parent_div"=>"parent_div", "comments"=>{"title"=>"Titre", "comment"=>"Commentaire"}, "resource"=>"dummy_model", "resource_id"=>"1"}
|
214
|
+
Redirected to http://test.host/commenteux/dummy_model/1?parent_div=parent_div
|
215
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
216
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
30
217
|
[1m[35m (0.1ms)[0m BEGIN
|
31
218
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
32
219
|
[1m[35m (0.2ms)[0m BEGIN
|
33
|
-
[1m[36m (0.
|
220
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
221
|
+
[1m[35m (0.1ms)[0m BEGIN
|
222
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
223
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
224
|
+
[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')
|
225
|
+
[1m[36m (6.5ms)[0m [1mCOMMIT[0m
|
226
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:49 -0400
|
227
|
+
Processing by Commenteux::NotesController#index as HTML
|
228
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
229
|
+
[1m[35mDummyModel Load (7.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
230
|
+
[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
|
231
|
+
[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
|
232
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.0ms)
|
233
|
+
Completed 200 OK in 273ms (Views: 134.8ms | ActiveRecord: 106.4ms)
|
234
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:48:50 -0400
|
235
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:48:50 -0400
|
236
|
+
[1m[36m (6.0ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
237
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
238
|
+
[1m[36m (6.2ms)[0m [1mSELECT DATABASE() as db[0m
|
239
|
+
[1m[35m (11.7ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
240
|
+
[1m[36m (9.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
241
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
|
242
|
+
[1m[36m (0.4ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
243
|
+
[1m[35m (0.1ms)[0m BEGIN
|
244
|
+
[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
|
245
|
+
[1m[35m (0.4ms)[0m COMMIT
|
246
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:50 -0400
|
247
|
+
Processing by Commenteux::NotesController#index as HTML
|
248
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
249
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
250
|
+
[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
|
251
|
+
[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
|
252
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
253
|
+
Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)
|
254
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
255
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
256
|
+
[1m[35m (44.3ms)[0m TRUNCATE TABLE `comments`;
|
257
|
+
[1m[36m (14.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
258
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
34
259
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35
|
-
[1m[
|
260
|
+
[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')
|
261
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
262
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:52 -0400
|
263
|
+
Processing by Commenteux::NotesController#new as HTML
|
264
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
265
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
266
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (51.2ms)
|
267
|
+
Completed 200 OK in 58ms (Views: 52.3ms | ActiveRecord: 0.4ms)
|
268
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
269
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
270
|
+
[1m[36m (28.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
271
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_models`;
|
272
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
273
|
+
[1m[35m (0.1ms)[0m BEGIN
|
274
|
+
[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
|
275
|
+
[1m[35m (0.3ms)[0m COMMIT
|
276
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:48:58 -0400
|
277
|
+
Processing by Commenteux::NotesController#new as HTML
|
278
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
279
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
280
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms)
|
281
|
+
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
282
|
+
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
|
283
|
+
Processing by Commenteux::NotesController#create as JS
|
284
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
285
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
286
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
287
|
+
[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')
|
288
|
+
[1m[36m (12.0ms)[0m [1mCOMMIT[0m
|
289
|
+
Redirected to http://127.0.0.1:64190/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
290
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.6ms)
|
291
|
+
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
|
292
|
+
Processing by Commenteux::NotesController#index as JS
|
293
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
294
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
295
|
+
[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
|
296
|
+
[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
|
297
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5.4ms)
|
298
|
+
Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.7ms)
|
299
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
300
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
301
|
+
[1m[36m (27.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
302
|
+
[1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_models`;
|
303
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
304
|
+
Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
|
305
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
306
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
307
|
+
[1m[35m (28.6ms)[0m TRUNCATE TABLE `comments`;
|
308
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
309
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
310
|
+
Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
|
311
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
312
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
313
|
+
[1m[36m (20.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
314
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_models`;
|
315
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
316
|
+
Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
|
317
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
318
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
319
|
+
[1m[35m (24.5ms)[0m TRUNCATE TABLE `comments`;
|
320
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
321
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
36
322
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
37
|
-
[1m[35mSQL (0.
|
38
|
-
|
323
|
+
[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')
|
324
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
325
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
|
39
326
|
Processing by Commenteux::NotesController#index as HTML
|
40
|
-
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
327
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
328
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
329
|
+
[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
|
330
|
+
[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
|
331
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms)
|
332
|
+
Completed 200 OK in 42ms (Views: 12.6ms | ActiveRecord: 2.0ms)
|
333
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
|
334
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
|
335
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
336
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
337
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
338
|
+
[1m[35m (6.6ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
339
|
+
[1m[36m (21.0ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
340
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
|
341
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
343
|
+
[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
|
344
|
+
[1m[35m (0.5ms)[0m COMMIT
|
345
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
|
346
|
+
Processing by Commenteux::NotesController#index as HTML
|
347
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
348
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
349
|
+
[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
|
350
|
+
[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
|
351
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
352
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms)
|
353
|
+
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
|
354
|
+
Processing by Commenteux::NotesController#new as HTML
|
355
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
356
|
+
[1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
357
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (36.2ms)
|
358
|
+
Completed 200 OK in 47ms (Views: 39.7ms | ActiveRecord: 0.7ms)
|
359
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
360
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
361
|
+
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
362
|
+
[1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_models`;
|
363
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
364
|
+
[1m[35m (0.1ms)[0m BEGIN
|
365
|
+
[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
|
366
|
+
[1m[35m (0.3ms)[0m COMMIT
|
367
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:50:58 -0400
|
368
|
+
Processing by Commenteux::NotesController#new as HTML
|
369
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
370
|
+
[1m[36mDummyModel Load (0.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
371
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms)
|
372
|
+
Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.6ms)
|
373
|
+
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
|
374
|
+
Processing by Commenteux::NotesController#index as HTML
|
375
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
376
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
377
|
+
[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
|
378
|
+
[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
|
379
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.7ms)
|
380
|
+
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.6ms)
|
381
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
382
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
383
|
+
[1m[36m (3.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
384
|
+
[1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_models`;
|
385
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
386
|
+
[1m[35m (0.1ms)[0m BEGIN
|
387
|
+
[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
|
388
|
+
[1m[35m (0.3ms)[0m COMMIT
|
389
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:51:01 -0400
|
390
|
+
Processing by Commenteux::NotesController#new as HTML
|
391
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
392
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
393
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.8ms)
|
394
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
395
|
+
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
|
396
|
+
Processing by Commenteux::NotesController#create as JS
|
397
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
398
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
399
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
400
|
+
[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')
|
401
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
402
|
+
Redirected to http://127.0.0.1:64534/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
403
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
404
|
+
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
|
405
|
+
Processing by Commenteux::NotesController#index as JS
|
406
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
407
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
408
|
+
[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
|
409
|
+
[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
|
410
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
|
411
|
+
Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.7ms)
|
412
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
413
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
414
|
+
[1m[36m (27.1ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
415
|
+
[1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_models`;
|
416
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
417
|
+
Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
|
418
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
419
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
420
|
+
[1m[35m (3.3ms)[0m TRUNCATE TABLE `comments`;
|
421
|
+
[1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
422
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
423
|
+
Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
|
424
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
425
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
426
|
+
[1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
427
|
+
[1m[35m (1.9ms)[0m TRUNCATE TABLE `dummy_models`;
|
428
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
429
|
+
Mysql2::Error: Table 'notes_dummy_bd_test.dummy_no_role_models' doesn't exist: SHOW FULL FIELDS FROM `dummy_no_role_models`
|
430
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
431
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
432
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `comments`;
|
433
|
+
[1m[36m (1.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
434
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
435
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
436
|
+
Migrating to CreateDummyNoRoleModels (20150612102101)
|
437
|
+
[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
|
438
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
439
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20150612102101')
|
440
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
441
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
442
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
443
|
+
[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')
|
444
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
445
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
|
446
|
+
Processing by Commenteux::NotesController#index as HTML
|
447
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
448
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
449
|
+
[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
|
450
|
+
[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
|
451
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.3ms)
|
452
|
+
Completed 200 OK in 49ms (Views: 14.4ms | ActiveRecord: 2.0ms)
|
453
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
|
454
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
|
455
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
456
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
457
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
458
|
+
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
459
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
460
|
+
[1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_models`;
|
461
|
+
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
462
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
463
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
464
|
+
[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')
|
465
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
466
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
|
467
|
+
Processing by Commenteux::NotesController#index as HTML
|
468
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
469
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
470
|
+
[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
|
471
|
+
[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
|
472
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
473
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms)
|
474
|
+
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
|
475
|
+
Processing by Commenteux::NotesController#new as HTML
|
476
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
477
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
478
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (37.6ms)
|
479
|
+
Completed 200 OK in 47ms (Views: 41.0ms | ActiveRecord: 0.3ms)
|
480
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
481
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
482
|
+
[1m[35m (3.1ms)[0m TRUNCATE TABLE `comments`;
|
483
|
+
[1m[36m (1.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
484
|
+
[1m[35m (1.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
485
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
486
|
+
[1m[35m (0.1ms)[0m BEGIN
|
487
|
+
[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
|
488
|
+
[1m[35m (0.2ms)[0m COMMIT
|
489
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:07 -0400
|
490
|
+
Processing by Commenteux::NotesController#new as HTML
|
491
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
492
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
493
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.6ms)
|
494
|
+
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)
|
495
|
+
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
|
496
|
+
Processing by Commenteux::NotesController#index as HTML
|
497
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
498
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
499
|
+
[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
|
500
|
+
[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
|
501
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.5ms)
|
502
|
+
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.6ms)
|
503
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
504
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
505
|
+
[1m[36m (3.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
506
|
+
[1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_models`;
|
507
|
+
[1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
508
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
509
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
510
|
+
[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')
|
511
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
512
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:55:10 -0400
|
513
|
+
Processing by Commenteux::NotesController#new as HTML
|
514
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
515
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
516
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.7ms)
|
517
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
518
|
+
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
|
519
|
+
Processing by Commenteux::NotesController#create as JS
|
520
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
41
521
|
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
42
|
-
[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
|
43
|
-
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (307.0ms)
|
44
|
-
Completed 200 OK in 433ms (Views: 372.7ms | ActiveRecord: 2.6ms)
|
45
|
-
[1m[36m (2.2ms)[0m [1mROLLBACK[0m
|
46
522
|
[1m[35m (0.1ms)[0m BEGIN
|
47
|
-
[1m[
|
523
|
+
[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
|
524
|
+
[1m[35m (0.4ms)[0m COMMIT
|
525
|
+
Redirected to http://127.0.0.1:64590/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
526
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
527
|
+
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
|
528
|
+
Processing by Commenteux::NotesController#index as JS
|
529
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
530
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
531
|
+
[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
|
532
|
+
[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
|
533
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.8ms)
|
534
|
+
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.6ms)
|
535
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
536
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
537
|
+
[1m[35m (21.4ms)[0m TRUNCATE TABLE `comments`;
|
538
|
+
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
539
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
540
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
48
541
|
[1m[35m (0.1ms)[0m BEGIN
|
49
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `
|
50
|
-
|
542
|
+
[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
|
543
|
+
[1m[35m (0.2ms)[0m COMMIT
|
544
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
|
51
545
|
Processing by Commenteux::NotesController#index as HTML
|
52
|
-
Parameters: {"resource"=>"
|
546
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
547
|
+
[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
|
548
|
+
[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
|
549
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
550
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
|
551
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
552
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
553
|
+
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
554
|
+
[1m[35m (1.7ms)[0m TRUNCATE TABLE `dummy_models`;
|
555
|
+
[1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
556
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
557
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
558
|
+
[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')
|
559
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
560
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
|
561
|
+
Processing by Commenteux::NotesController#index as HTML
|
562
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
563
|
+
[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
|
564
|
+
[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
|
565
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
566
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)
|
567
|
+
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
|
568
|
+
Processing by Commenteux::NotesController#new as HTML
|
569
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
570
|
+
[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
|
571
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (2.1ms)
|
572
|
+
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
573
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
574
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
575
|
+
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
576
|
+
[1m[35m (1.9ms)[0m TRUNCATE TABLE `dummy_models`;
|
577
|
+
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
578
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
579
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
580
|
+
[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')
|
581
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
582
|
+
Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
|
583
|
+
Processing by Commenteux::NotesController#new as HTML
|
584
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
585
|
+
[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
|
586
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (1.9ms)
|
587
|
+
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
588
|
+
Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
|
589
|
+
Processing by Commenteux::NotesController#create as JS
|
590
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
591
|
+
[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
|
592
|
+
[1m[35m (0.1ms)[0m BEGIN
|
593
|
+
[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
|
594
|
+
[1m[35m (0.3ms)[0m COMMIT
|
595
|
+
Redirected to http://127.0.0.1:64590/commenteux/dummy_no_role_model/1?parent_div=&roles=
|
596
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
597
|
+
Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 08:55:12 -0400
|
598
|
+
Processing by Commenteux::NotesController#index as JS
|
599
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
600
|
+
[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
|
601
|
+
[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
|
602
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms)
|
603
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
604
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
605
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
606
|
+
[1m[36m (24.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
607
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
|
608
|
+
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
609
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
610
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
611
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
612
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
613
|
+
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
614
|
+
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
615
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
|
616
|
+
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
617
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
618
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
619
|
+
[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')
|
620
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
621
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 08:59:38 -0400
|
622
|
+
Processing by Commenteux::NotesController#new as HTML
|
623
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
624
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
625
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (58.8ms)
|
626
|
+
Completed 200 OK in 129ms (Views: 86.2ms | ActiveRecord: 2.4ms)
|
627
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 08:59:38 -0400
|
628
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 08:59:38 -0400
|
629
|
+
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
|
630
|
+
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
|
631
|
+
Processing by Commenteux::NotesController#create as JS
|
632
|
+
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
|
633
|
+
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
|
634
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
635
|
+
Processing by Commenteux::NotesController#create as JS
|
636
|
+
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
|
637
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
638
|
+
[1m[36mDummyModel Load (2.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
639
|
+
Processing by Commenteux::NotesController#create as JS
|
640
|
+
[1m[35mDummyModel Load (7.8ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
641
|
+
[1m[36m (1.6ms)[0m [1mBEGIN[0m
|
642
|
+
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
|
643
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
644
|
+
Processing by Commenteux::NotesController#create as JS
|
645
|
+
[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')
|
646
|
+
[1m[36m (2.1ms)[0m [1mBEGIN[0m
|
647
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
648
|
+
[1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
649
|
+
[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
|
650
|
+
[1m[35m (10.2ms)[0m COMMIT
|
651
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
652
|
+
Completed 302 Found in 49ms (ActiveRecord: 17.6ms)
|
653
|
+
[1m[36mDummyModel Load (5.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
654
|
+
[1m[35m (7.6ms)[0m COMMIT
|
655
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
656
|
+
Processing by Commenteux::NotesController#create as JS
|
657
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
658
|
+
Completed 302 Found in 56ms (ActiveRecord: 32.7ms)
|
659
|
+
[1m[36mDummyModel Load (4.1ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
660
|
+
[1m[35m (3.5ms)[0m BEGIN
|
661
|
+
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
|
662
|
+
[1m[36m (21.9ms)[0m [1mBEGIN[0m
|
663
|
+
Processing by Commenteux::NotesController#create as JS
|
664
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
665
|
+
[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')
|
666
|
+
[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
|
667
|
+
[1m[35m (19.8ms)[0m BEGIN
|
668
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
669
|
+
[1m[35mDummyModel Load (2.7ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
670
|
+
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
|
671
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
672
|
+
[1m[36m (8.8ms)[0m [1mCOMMIT[0m
|
673
|
+
Completed 302 Found in 67ms (ActiveRecord: 32.9ms)
|
674
|
+
[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')
|
675
|
+
[1m[36m (0.8ms)[0m [1mBEGIN[0m
|
676
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
677
|
+
Processing by Commenteux::NotesController#create as JS
|
678
|
+
Completed 302 Found in 68ms (ActiveRecord: 41.1ms)
|
679
|
+
[1m[35m (8.5ms)[0m COMMIT
|
680
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
681
|
+
[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
|
682
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
683
|
+
Processing by Commenteux::NotesController#index as JS
|
684
|
+
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
|
685
|
+
[1m[35mDummyModel Load (2.9ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
686
|
+
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
|
687
|
+
Completed 302 Found in 68ms (ActiveRecord: 36.8ms)
|
688
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
689
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
690
|
+
[1m[35m (0.4ms)[0m BEGIN
|
691
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
692
|
+
Processing by Commenteux::NotesController#index as JS
|
693
|
+
[1m[36mDummyModel Load (3.1ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
694
|
+
Completed 302 Found in 59ms (ActiveRecord: 5.1ms)
|
695
|
+
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
|
696
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
697
|
+
[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')
|
698
|
+
Processing by Commenteux::NotesController#index as JS
|
699
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
700
|
+
[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
|
701
|
+
[1m[35mDummyModel Load (5.8ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
702
|
+
[1m[36mDummyModel Load (8.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
703
|
+
[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
|
704
|
+
[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
|
705
|
+
[1m[35m (20.9ms)[0m COMMIT
|
706
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
707
|
+
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
|
708
|
+
[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
|
709
|
+
Completed 302 Found in 69ms (ActiveRecord: 27.2ms)
|
710
|
+
[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
|
711
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (11.9ms)
|
712
|
+
Processing by Commenteux::NotesController#index as JS
|
713
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
714
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (21.3ms)
|
715
|
+
[1m[36mDummyModel Load (3.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
716
|
+
[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
|
717
|
+
Completed 200 OK in 70ms (Views: 19.7ms | ActiveRecord: 21.0ms)
|
718
|
+
Completed 200 OK in 91ms (Views: 35.1ms | ActiveRecord: 20.0ms)
|
719
|
+
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
|
720
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.3ms)
|
721
|
+
[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
|
722
|
+
Processing by Commenteux::NotesController#index as JS
|
723
|
+
Processing by Commenteux::NotesController#index as JS
|
724
|
+
Completed 200 OK in 85ms (Views: 11.2ms | ActiveRecord: 45.4ms)
|
725
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
726
|
+
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
|
727
|
+
[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
|
728
|
+
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
|
729
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
730
|
+
Processing by Commenteux::NotesController#create as JS
|
731
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
|
732
|
+
[1m[36mDummyModel Load (12.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
733
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
734
|
+
Completed 200 OK in 62ms (Views: 6.7ms | ActiveRecord: 20.8ms)
|
735
|
+
[1m[35mDummyModel Load (0.7ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
736
|
+
[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
|
737
|
+
[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
|
738
|
+
Processing by Commenteux::NotesController#index as JS
|
739
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
740
|
+
[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
|
741
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms)
|
742
|
+
Completed 200 OK in 34ms (Views: 4.0ms | ActiveRecord: 10.1ms)
|
743
|
+
[1m[35mDummyModel Load (9.0ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
744
|
+
[1m[36mDummyModel Load (33.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
745
|
+
[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
|
746
|
+
[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
|
747
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
|
748
|
+
Completed 200 OK in 69ms (Views: 4.0ms | ActiveRecord: 41.9ms)
|
749
|
+
[1m[35m (11.1ms)[0m BEGIN
|
750
|
+
[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
|
751
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms)
|
752
|
+
Completed 200 OK in 42ms (Views: 3.9ms | ActiveRecord: 23.4ms)
|
753
|
+
[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')
|
754
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
755
|
+
Redirected to http://127.0.0.1:64672/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
756
|
+
Completed 302 Found in 65ms (ActiveRecord: 52.3ms)
|
757
|
+
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
|
758
|
+
Processing by Commenteux::NotesController#index as JS
|
759
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
760
|
+
[1m[35mDummyModel Load (1.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
761
|
+
[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
|
762
|
+
[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
|
763
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.5ms)
|
764
|
+
Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 3.0ms)
|
765
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
766
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
767
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
768
|
+
[1m[35m (6.7ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
769
|
+
[1m[36m (20.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
770
|
+
[1m[35m (3.1ms)[0m TRUNCATE TABLE `dummy_models`;
|
771
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
772
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
773
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
774
|
+
[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')
|
775
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
776
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:02:48 -0400
|
777
|
+
Processing by Commenteux::NotesController#new as HTML
|
778
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
779
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
780
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (59.5ms)
|
781
|
+
Completed 200 OK in 241ms (Views: 202.5ms | ActiveRecord: 1.9ms)
|
782
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:02:48 -0400
|
783
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:02:48 -0400
|
784
|
+
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
|
785
|
+
Processing by Commenteux::NotesController#create as JS
|
786
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
787
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
788
|
+
[1m[35m (1.3ms)[0m BEGIN
|
789
|
+
[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
|
790
|
+
[1m[35m (5.6ms)[0m COMMIT
|
791
|
+
Redirected to http://127.0.0.1:64849/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
792
|
+
Completed 302 Found in 24ms (ActiveRecord: 7.7ms)
|
793
|
+
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
|
794
|
+
Processing by Commenteux::NotesController#create as JS
|
795
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
796
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
797
|
+
[1m[35m (0.2ms)[0m BEGIN
|
798
|
+
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
|
799
|
+
[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
|
800
|
+
Processing by Commenteux::NotesController#index as JS
|
801
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
802
|
+
[1m[35m (10.8ms)[0m COMMIT
|
803
|
+
Redirected to http://127.0.0.1:64849/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
804
|
+
Completed 302 Found in 28ms (ActiveRecord: 15.2ms)
|
805
|
+
[1m[36mDummyModel Load (4.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
806
|
+
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
|
807
|
+
Processing by Commenteux::NotesController#index as JS
|
808
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
809
|
+
[1m[35mDummyModel Load (1.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
810
|
+
[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
|
811
|
+
[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
|
812
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.8ms)
|
813
|
+
Completed 200 OK in 31ms (Views: 17.6ms | ActiveRecord: 2.2ms)
|
814
|
+
[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
|
815
|
+
[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
|
816
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms)
|
817
|
+
Completed 200 OK in 54ms (Views: 2.3ms | ActiveRecord: 39.5ms)
|
818
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
819
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
820
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
821
|
+
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
822
|
+
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
823
|
+
[1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_models`;
|
824
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
825
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
826
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
827
|
+
[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')
|
828
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
829
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:05:13 -0400
|
830
|
+
Processing by Commenteux::NotesController#new as HTML
|
831
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
832
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
833
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (66.9ms)
|
834
|
+
Completed 200 OK in 129ms (Views: 91.3ms | ActiveRecord: 1.9ms)
|
835
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:05:13 -0400
|
836
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:05:13 -0400
|
837
|
+
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
|
838
|
+
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
|
839
|
+
Processing by Commenteux::NotesController#create as JS
|
840
|
+
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
|
841
|
+
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
|
842
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
843
|
+
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
|
844
|
+
Started GET "/commenteux/dummy_model/1/new" for 127.0.0.1 at 2015-06-16 09:08:17 -0400
|
845
|
+
Processing by Commenteux::NotesController#create as JS
|
846
|
+
[1m[36mDummyModel Load (5.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
847
|
+
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
|
848
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
849
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
850
|
+
[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')
|
851
|
+
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')
|
852
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
853
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
854
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
855
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
856
|
+
[1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
857
|
+
[1m[35m (16.7ms)[0m TRUNCATE TABLE `comments`;
|
858
|
+
[1m[36m (3.6ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
859
|
+
[1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
860
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
861
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
862
|
+
[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')
|
863
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
864
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:08:54 -0400
|
865
|
+
Processing by Commenteux::NotesController#new as HTML
|
866
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
53
867
|
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
868
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (78.3ms)
|
869
|
+
Completed 200 OK in 12593ms (Views: 104.3ms | ActiveRecord: 2.5ms)
|
870
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:09:07 -0400
|
871
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:09:07 -0400
|
872
|
+
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
|
873
|
+
Processing by Commenteux::NotesController#create as JS
|
874
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
875
|
+
[1m[36mDummyModel Load (0.9ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
876
|
+
[1m[35m (2.1ms)[0m BEGIN
|
877
|
+
[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
|
878
|
+
[1m[35m (1.1ms)[0m COMMIT
|
879
|
+
Redirected to http://127.0.0.1:65152/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
880
|
+
Completed 302 Found in 43794ms (ActiveRecord: 4.7ms)
|
881
|
+
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
|
882
|
+
Processing by Commenteux::NotesController#index as JS
|
883
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
884
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
885
|
+
[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
|
886
|
+
[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
|
887
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.1ms)
|
888
|
+
Completed 200 OK in 26ms (Views: 13.5ms | ActiveRecord: 0.9ms)
|
889
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
890
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
891
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
892
|
+
[1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
893
|
+
[1m[35m (3.3ms)[0m TRUNCATE TABLE `comments`;
|
894
|
+
[1m[36m (3.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
895
|
+
[1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
896
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
897
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
898
|
+
[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')
|
899
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
900
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:13:25 -0400
|
901
|
+
Processing by Commenteux::NotesController#new as HTML
|
902
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
903
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
904
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (74.4ms)
|
905
|
+
Completed 200 OK in 3068ms (Views: 99.3ms | ActiveRecord: 2.1ms)
|
906
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:13:28 -0400
|
907
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:13:28 -0400
|
908
|
+
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
|
909
|
+
Processing by Commenteux::NotesController#create as JS
|
910
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
911
|
+
[1m[36mDummyModel Load (3.6ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
912
|
+
[1m[35m (1.9ms)[0m BEGIN
|
913
|
+
[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
|
914
|
+
[1m[35m (11.1ms)[0m COMMIT
|
915
|
+
Redirected to http://127.0.0.1:65489/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
916
|
+
Completed 302 Found in 62985ms (ActiveRecord: 17.6ms)
|
917
|
+
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
|
918
|
+
Processing by Commenteux::NotesController#index as JS
|
919
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
920
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
921
|
+
[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
|
922
|
+
[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
|
923
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.5ms)
|
924
|
+
Completed 200 OK in 30ms (Views: 16.0ms | ActiveRecord: 0.9ms)
|
925
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
926
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
927
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
928
|
+
[1m[36m (6.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
929
|
+
[1m[35m (19.6ms)[0m TRUNCATE TABLE `comments`;
|
930
|
+
[1m[36m (3.5ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
931
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
932
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
933
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
934
|
+
[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')
|
935
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
936
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:18:49 -0400
|
937
|
+
Processing by Commenteux::NotesController#new as HTML
|
938
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
939
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
940
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (72.4ms)
|
941
|
+
Completed 200 OK in 3654ms (Views: 101.6ms | ActiveRecord: 2.7ms)
|
942
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:18:52 -0400
|
943
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:18:52 -0400
|
944
|
+
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
|
945
|
+
Processing by Commenteux::NotesController#create as JS
|
946
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
947
|
+
[1m[36mDummyModel Load (4.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
948
|
+
[1m[35m (0.6ms)[0m BEGIN
|
949
|
+
[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
|
950
|
+
[1m[35m (5.5ms)[0m COMMIT
|
951
|
+
Redirected to http://127.0.0.1:49216/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
952
|
+
Completed 302 Found in 1969ms (ActiveRecord: 11.2ms)
|
953
|
+
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
|
954
|
+
Processing by Commenteux::NotesController#index as JS
|
955
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
956
|
+
[1m[36mDummyModel Load (3.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
957
|
+
[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
|
958
|
+
[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
|
959
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.6ms)
|
960
|
+
Completed 200 OK in 22039ms (Views: 15.8ms | ActiveRecord: 5.5ms)
|
961
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
962
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
963
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
964
|
+
[1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
965
|
+
[1m[35m (15.6ms)[0m TRUNCATE TABLE `comments`;
|
966
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
967
|
+
[1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
968
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
58
969
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
59
|
-
[1m[
|
970
|
+
[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')
|
971
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
972
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
|
973
|
+
Processing by Commenteux::NotesController#new as HTML
|
974
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
975
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
976
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.4ms)
|
977
|
+
Completed 200 OK in 74ms (Views: 49.9ms | ActiveRecord: 1.7ms)
|
978
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
|
979
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:19:47 -0400
|
980
|
+
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
|
981
|
+
Processing by Commenteux::NotesController#create as JS
|
982
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
983
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
984
|
+
[1m[35m (0.1ms)[0m BEGIN
|
985
|
+
[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
|
986
|
+
[1m[35m (0.3ms)[0m COMMIT
|
987
|
+
Redirected to http://127.0.0.1:49277/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
988
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
989
|
+
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
|
990
|
+
Processing by Commenteux::NotesController#index as JS
|
991
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
992
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
993
|
+
[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
|
994
|
+
[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
|
995
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.3ms)
|
996
|
+
Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 1.7ms)
|
997
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
998
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
999
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1000
|
+
[1m[36m (6.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1001
|
+
[1m[35m (19.9ms)[0m TRUNCATE TABLE `comments`;
|
1002
|
+
[1m[36m (3.0ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1003
|
+
[1m[35m (4.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1004
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1005
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1006
|
+
[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')
|
1007
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1008
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:20:49 -0400
|
1009
|
+
Processing by Commenteux::NotesController#new as HTML
|
1010
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1011
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1012
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (81.8ms)
|
1013
|
+
Completed 200 OK in 2842ms (Views: 107.3ms | ActiveRecord: 2.9ms)
|
1014
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:20:52 -0400
|
1015
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:20:52 -0400
|
1016
|
+
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
|
1017
|
+
Processing by Commenteux::NotesController#create as JS
|
1018
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1019
|
+
[1m[36mDummyModel Load (5.1ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1020
|
+
[1m[35m (0.9ms)[0m BEGIN
|
1021
|
+
[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
|
1022
|
+
[1m[35m (5.6ms)[0m COMMIT
|
1023
|
+
Redirected to http://127.0.0.1:49449/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1024
|
+
Completed 302 Found in 4828ms (ActiveRecord: 13.1ms)
|
1025
|
+
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
|
1026
|
+
Processing by Commenteux::NotesController#index as JS
|
1027
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1028
|
+
[1m[36mDummyModel Load (0.8ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1029
|
+
[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
|
1030
|
+
[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
|
1031
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (48613.2ms)
|
1032
|
+
Completed 200 OK in 50009ms (Views: 48619.6ms | ActiveRecord: 3.7ms)
|
1033
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1034
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1035
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1036
|
+
[1m[36m (6.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1037
|
+
[1m[35m (15.7ms)[0m TRUNCATE TABLE `comments`;
|
1038
|
+
[1m[36m (3.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1039
|
+
[1m[35m (3.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1040
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1041
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1042
|
+
[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')
|
1043
|
+
[1m[36m (1.9ms)[0m [1mCOMMIT[0m
|
1044
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:22:27 -0400
|
1045
|
+
Processing by Commenteux::NotesController#new as HTML
|
1046
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1047
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1048
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.4ms)
|
1049
|
+
Completed 200 OK in 2798ms (Views: 103.0ms | ActiveRecord: 3.0ms)
|
1050
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:22:30 -0400
|
1051
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:22:30 -0400
|
1052
|
+
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
|
1053
|
+
Processing by Commenteux::NotesController#create as JS
|
1054
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1055
|
+
[1m[36mDummyModel Load (121423.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1056
|
+
[1m[35m (0.8ms)[0m BEGIN
|
1057
|
+
[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
|
1058
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1059
|
+
Redirected to http://127.0.0.1:49512/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1060
|
+
Completed 302 Found in 134804ms (ActiveRecord: 121427.1ms)
|
1061
|
+
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
|
1062
|
+
Processing by Commenteux::NotesController#index as JS
|
1063
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1064
|
+
[1m[36mDummyModel Load (3.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1065
|
+
[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
|
1066
|
+
[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
|
1067
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9979.1ms)
|
1068
|
+
Completed 200 OK in 30569ms (Views: 9988.9ms | ActiveRecord: 4.4ms)
|
1069
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1070
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1071
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
1072
|
+
[1m[36m (6.7ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1073
|
+
[1m[35m (18.7ms)[0m TRUNCATE TABLE `comments`;
|
1074
|
+
[1m[36m (4.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1075
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1076
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1077
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1078
|
+
[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')
|
1079
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1080
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:00 -0400
|
1081
|
+
Processing by Commenteux::NotesController#new as HTML
|
1082
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1083
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1084
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (84.0ms)
|
1085
|
+
Completed 200 OK in 6774ms (Views: 114.0ms | ActiveRecord: 2.7ms)
|
1086
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:26:06 -0400
|
1087
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:26:06 -0400
|
1088
|
+
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
|
1089
|
+
Processing by Commenteux::NotesController#create as JS
|
1090
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1091
|
+
[1m[36mDummyModel Load (15755.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1092
|
+
[1m[35m (1.6ms)[0m BEGIN
|
1093
|
+
[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
|
1094
|
+
[1m[35m (0.8ms)[0m COMMIT
|
1095
|
+
Redirected to http://127.0.0.1:49622/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1096
|
+
Completed 302 Found in 19213ms (ActiveRecord: 15758.5ms)
|
1097
|
+
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
|
1098
|
+
Processing by Commenteux::NotesController#index as JS
|
1099
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1100
|
+
[1m[36mDummyModel Load (0.8ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1101
|
+
[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
|
1102
|
+
[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
|
1103
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.9ms)
|
1104
|
+
Completed 200 OK in 26ms (Views: 13.4ms | ActiveRecord: 1.4ms)
|
1105
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1106
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1107
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1108
|
+
[1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1109
|
+
[1m[35m (3.3ms)[0m TRUNCATE TABLE `comments`;
|
1110
|
+
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1111
|
+
[1m[35m (2.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1112
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1113
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1114
|
+
[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')
|
1115
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1116
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:26:57 -0400
|
1117
|
+
Processing by Commenteux::NotesController#new as HTML
|
1118
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1119
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1120
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (83.7ms)
|
1121
|
+
Completed 200 OK in 168ms (Views: 115.7ms | ActiveRecord: 2.3ms)
|
1122
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:26:57 -0400
|
1123
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:26:57 -0400
|
1124
|
+
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
|
1125
|
+
Processing by Commenteux::NotesController#create as JS
|
1126
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1127
|
+
[1m[36mDummyModel Load (3.9ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1128
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1129
|
+
[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
|
1130
|
+
[1m[35m (0.8ms)[0m COMMIT
|
1131
|
+
Redirected to http://127.0.0.1:49677/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1132
|
+
Completed 302 Found in 9020ms (ActiveRecord: 5.2ms)
|
1133
|
+
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
|
1134
|
+
Processing by Commenteux::NotesController#index as JS
|
1135
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1136
|
+
[1m[36mDummyModel Load (2.8ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1137
|
+
[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
|
1138
|
+
[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
|
1139
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (5291.5ms)
|
1140
|
+
Completed 200 OK in 12277ms (Views: 5298.8ms | ActiveRecord: 5.4ms)
|
1141
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1142
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1143
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1144
|
+
[1m[36m (6.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1145
|
+
[1m[35m (15.5ms)[0m TRUNCATE TABLE `comments`;
|
1146
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1147
|
+
[1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1148
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1149
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1150
|
+
[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')
|
1151
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1152
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:28:48 -0400
|
1153
|
+
Processing by Commenteux::NotesController#new as HTML
|
1154
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1155
|
+
[1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1156
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (82.4ms)
|
1157
|
+
Completed 200 OK in 172ms (Views: 117.8ms | ActiveRecord: 2.3ms)
|
1158
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:28:49 -0400
|
1159
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:28:49 -0400
|
1160
|
+
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
|
1161
|
+
Processing by Commenteux::NotesController#create as JS
|
1162
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1163
|
+
[1m[36mDummyModel Load (3.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1164
|
+
[1m[35m (0.4ms)[0m BEGIN
|
1165
|
+
[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
|
1166
|
+
[1m[35m (0.9ms)[0m COMMIT
|
1167
|
+
Redirected to http://127.0.0.1:49799/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1168
|
+
Completed 302 Found in 4407ms (ActiveRecord: 4.8ms)
|
1169
|
+
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
|
1170
|
+
Processing by Commenteux::NotesController#index as JS
|
1171
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1172
|
+
[1m[36mDummyModel Load (0.9ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1173
|
+
[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
|
1174
|
+
[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
|
1175
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (4335.4ms)
|
1176
|
+
Completed 200 OK in 59186ms (Views: 4343.5ms | ActiveRecord: 3.8ms)
|
1177
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1178
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1179
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1180
|
+
[1m[36m (6.7ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1181
|
+
[1m[35m (15.6ms)[0m TRUNCATE TABLE `comments`;
|
1182
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1183
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1184
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
60
1185
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
61
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO `dummy_models` (`created_at`, `id`, `text`, `updated_at`) VALUES ('
|
62
|
-
|
1186
|
+
[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')
|
1187
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1188
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:31:45 -0400
|
63
1189
|
Processing by Commenteux::NotesController#new as HTML
|
64
|
-
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
1190
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1191
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1192
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (86.8ms)
|
1193
|
+
Completed 200 OK in 282ms (Views: 231.1ms | ActiveRecord: 2.3ms)
|
1194
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:31:45 -0400
|
1195
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:31:45 -0400
|
1196
|
+
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
|
1197
|
+
Processing by Commenteux::NotesController#create as JS
|
1198
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1199
|
+
[1m[36mDummyModel Load (3.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1200
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1201
|
+
[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
|
1202
|
+
[1m[35m (0.9ms)[0m COMMIT
|
1203
|
+
Redirected to http://127.0.0.1:49929/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1204
|
+
Completed 302 Found in 3131ms (ActiveRecord: 4.8ms)
|
1205
|
+
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
|
1206
|
+
Processing by Commenteux::NotesController#index as JS
|
1207
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1208
|
+
[1m[36mDummyModel Load (17047.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1209
|
+
[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
|
1210
|
+
[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
|
1211
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (20095.8ms)
|
1212
|
+
Completed 200 OK in 43972ms (Views: 20102.5ms | ActiveRecord: 17050.6ms)
|
1213
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1214
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1215
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
1216
|
+
[1m[36m (6.5ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1217
|
+
[1m[35m (15.0ms)[0m TRUNCATE TABLE `comments`;
|
1218
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1219
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1220
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1221
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1222
|
+
[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')
|
1223
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1224
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:33:18 -0400
|
1225
|
+
Processing by Commenteux::NotesController#new as HTML
|
1226
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1227
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1228
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (85.9ms)
|
1229
|
+
Completed 200 OK in 160ms (Views: 114.8ms | ActiveRecord: 1.9ms)
|
1230
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:33:18 -0400
|
1231
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:33:18 -0400
|
1232
|
+
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
|
1233
|
+
Processing by Commenteux::NotesController#create as JS
|
1234
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1235
|
+
[1m[36mDummyModel Load (0.7ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1236
|
+
[1m[35m (2.1ms)[0m BEGIN
|
1237
|
+
[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
|
1238
|
+
[1m[35m (5.4ms)[0m COMMIT
|
1239
|
+
Redirected to http://127.0.0.1:50002/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1240
|
+
Completed 302 Found in 8669ms (ActiveRecord: 8.6ms)
|
1241
|
+
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
|
1242
|
+
Processing by Commenteux::NotesController#create as JS
|
1243
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1244
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1245
|
+
[1m[35m (0.4ms)[0m BEGIN
|
1246
|
+
[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
|
1247
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1248
|
+
Redirected to http://127.0.0.1:50002/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1249
|
+
Completed 302 Found in 16ms (ActiveRecord: 1.5ms)
|
1250
|
+
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
|
1251
|
+
Processing by Commenteux::NotesController#index as JS
|
1252
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1253
|
+
[1m[36mDummyModel Load (2.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1254
|
+
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
|
1255
|
+
[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
|
1256
|
+
Processing by Commenteux::NotesController#index as JS
|
1257
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1258
|
+
[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
|
1259
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1260
|
+
[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')
|
1261
|
+
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')
|
1262
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1263
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1264
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1265
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
1266
|
+
[1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1267
|
+
[1m[35m (31.8ms)[0m TRUNCATE TABLE `comments`;
|
1268
|
+
[1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1269
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1270
|
+
[1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1271
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1272
|
+
[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')
|
1273
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1274
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:49:24 -0400
|
1275
|
+
Processing by Commenteux::NotesController#index as HTML
|
1276
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1277
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1278
|
+
[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
|
1279
|
+
[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
|
1280
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4355.4ms)
|
1281
|
+
Completed 200 OK in 4541ms (Views: 4499.5ms | ActiveRecord: 2.6ms)
|
1282
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:49:29 -0400
|
1283
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:49:29 -0400
|
1284
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1285
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1286
|
+
[1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
|
1287
|
+
[1m[35m (6.0ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1288
|
+
[1m[36m (19.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1289
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
|
1290
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1291
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1292
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1293
|
+
[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')
|
1294
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1295
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 09:51:31 -0400
|
1296
|
+
Processing by Commenteux::NotesController#index as HTML
|
1297
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1298
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1299
|
+
[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
|
1300
|
+
[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
|
1301
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.4ms)
|
1302
|
+
Completed 200 OK in 64ms (Views: 28.6ms | ActiveRecord: 2.5ms)
|
1303
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 09:51:31 -0400
|
1304
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 09:51:31 -0400
|
1305
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1306
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1307
|
+
[1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
|
1308
|
+
[1m[35m (6.7ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1309
|
+
[1m[36m (20.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1310
|
+
[1m[35m (2.9ms)[0m TRUNCATE TABLE `dummy_models`;
|
1311
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1312
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1313
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1314
|
+
[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')
|
1315
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1316
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:02:52 -0400
|
1317
|
+
Processing by Commenteux::NotesController#index as HTML
|
1318
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1319
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1320
|
+
[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
|
1321
|
+
[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
|
1322
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.2ms)
|
1323
|
+
Completed 200 OK in 64ms (Views: 26.9ms | ActiveRecord: 3.0ms)
|
1324
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:02:52 -0400
|
1325
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:02:52 -0400
|
1326
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1327
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1328
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
1329
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1330
|
+
[1m[36m (3.7ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1331
|
+
[1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
|
1332
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1333
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1334
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1335
|
+
[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')
|
1336
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1337
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:04:37 -0400
|
1338
|
+
Processing by Commenteux::NotesController#index as HTML
|
1339
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1340
|
+
[1m[35mDummyModel Load (0.9ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1341
|
+
[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
|
1342
|
+
[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
|
1343
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (2.9ms)
|
1344
|
+
Completed 200 OK in 70ms (Views: 29.6ms | ActiveRecord: 2.9ms)
|
1345
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:04:37 -0400
|
1346
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:04:37 -0400
|
1347
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1348
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1349
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
1350
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1351
|
+
[1m[36m (3.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1352
|
+
[1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
|
1353
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1354
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1355
|
+
[1m[35mDummyModel Load (1635937.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1356
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1635941.1ms)
|
1357
|
+
Completed 200 OK in 1635974ms (Views: 1635947.1ms | ActiveRecord: 13.8ms)
|
1358
|
+
[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
|
1359
|
+
[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
|
1360
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms)
|
1361
|
+
Completed 200 OK in 1635972ms (Views: 1.9ms | ActiveRecord: 1635957.8ms)
|
1362
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1363
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1364
|
+
[1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
|
1365
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1366
|
+
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1367
|
+
[1m[35m (5.0ms)[0m TRUNCATE TABLE `dummy_models`;
|
1368
|
+
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1369
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1370
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1371
|
+
[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')
|
1372
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1373
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:16:20 -0400
|
1374
|
+
Processing by Commenteux::NotesController#new as HTML
|
1375
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1376
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1377
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.3ms)
|
1378
|
+
Completed 200 OK in 246ms (Views: 206.9ms | ActiveRecord: 2.6ms)
|
1379
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:16:21 -0400
|
1380
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:16:21 -0400
|
1381
|
+
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
|
1382
|
+
Processing by Commenteux::NotesController#create as JS
|
1383
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1384
|
+
[1m[36mDummyModel Load (2.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1385
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1386
|
+
[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
|
1387
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1388
|
+
Redirected to http://127.0.0.1:51157/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1389
|
+
Completed 302 Found in 19ms (ActiveRecord: 3.2ms)
|
1390
|
+
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
|
1391
|
+
Processing by Commenteux::NotesController#index as JS
|
1392
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
65
1393
|
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
1394
|
+
[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
|
1395
|
+
[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
|
1396
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms)
|
1397
|
+
Completed 200 OK in 26ms (Views: 13.3ms | ActiveRecord: 1.1ms)
|
1398
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1399
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1400
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1401
|
+
[1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1402
|
+
[1m[35m (4.2ms)[0m TRUNCATE TABLE `comments`;
|
1403
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1404
|
+
[1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1405
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1406
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1407
|
+
[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')
|
1408
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1409
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
|
1410
|
+
Processing by Commenteux::NotesController#new as HTML
|
1411
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
71
1412
|
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
Started GET "/
|
1413
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (77.4ms)
|
1414
|
+
Completed 200 OK in 243ms (Views: 204.7ms | ActiveRecord: 2.0ms)
|
1415
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
|
1416
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:17:39 -0400
|
1417
|
+
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
|
1418
|
+
Processing by Commenteux::NotesController#create as JS
|
1419
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1420
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1421
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1422
|
+
[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
|
1423
|
+
[1m[35m (6.1ms)[0m COMMIT
|
1424
|
+
Redirected to http://127.0.0.1:51287/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1425
|
+
Completed 302 Found in 25ms (ActiveRecord: 6.8ms)
|
1426
|
+
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
|
1427
|
+
Processing by Commenteux::NotesController#index as JS
|
1428
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1429
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1430
|
+
[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
|
1431
|
+
[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
|
1432
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (7.7ms)
|
1433
|
+
Completed 200 OK in 28ms (Views: 13.2ms | ActiveRecord: 1.0ms)
|
1434
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1435
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1436
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1437
|
+
[1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1438
|
+
[1m[35m (3.4ms)[0m TRUNCATE TABLE `comments`;
|
1439
|
+
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1440
|
+
[1m[35m (2.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1441
|
+
[1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1442
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1443
|
+
[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')
|
1444
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1445
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
|
1446
|
+
Processing by Commenteux::NotesController#new as HTML
|
1447
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1448
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1449
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (76.1ms)
|
1450
|
+
Completed 200 OK in 252ms (Views: 209.9ms | ActiveRecord: 2.0ms)
|
1451
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
|
1452
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:18:43 -0400
|
1453
|
+
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
|
1454
|
+
Processing by Commenteux::NotesController#create as JS
|
1455
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1456
|
+
[1m[36mDummyModel Load (2.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1457
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1458
|
+
[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
|
1459
|
+
[1m[35m (4.8ms)[0m COMMIT
|
1460
|
+
Redirected to http://127.0.0.1:51410/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1461
|
+
Completed 302 Found in 47ms (ActiveRecord: 7.7ms)
|
1462
|
+
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
|
1463
|
+
Processing by Commenteux::NotesController#index as JS
|
1464
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1465
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1466
|
+
[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
|
1467
|
+
[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
|
1468
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.0ms)
|
1469
|
+
Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 1.0ms)
|
1470
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1471
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1472
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1473
|
+
[1m[36m (0.9ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1474
|
+
[1m[35m (3.7ms)[0m TRUNCATE TABLE `comments`;
|
1475
|
+
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1476
|
+
[1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1477
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1478
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1479
|
+
[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')
|
1480
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1481
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:19:41 -0400
|
1482
|
+
Processing by Commenteux::NotesController#new as HTML
|
1483
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1484
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1485
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (73.6ms)
|
1486
|
+
Completed 200 OK in 248ms (Views: 203.5ms | ActiveRecord: 2.1ms)
|
1487
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:19:41 -0400
|
1488
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:19:41 -0400
|
1489
|
+
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
|
1490
|
+
Processing by Commenteux::NotesController#create as JS
|
1491
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1492
|
+
[1m[36mDummyModel Load (2.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1493
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1494
|
+
[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
|
1495
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1496
|
+
Redirected to http://127.0.0.1:51541/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1497
|
+
Completed 302 Found in 45ms (ActiveRecord: 3.0ms)
|
1498
|
+
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
|
1499
|
+
Processing by Commenteux::NotesController#index as JS
|
1500
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1501
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1502
|
+
[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
|
1503
|
+
[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
|
1504
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (9.1ms)
|
1505
|
+
Completed 200 OK in 29ms (Views: 14.6ms | ActiveRecord: 1.2ms)
|
1506
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1507
|
+
[1m[36m (0.3ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1508
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
1509
|
+
[1m[36m (1.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1510
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1511
|
+
[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')
|
1512
|
+
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')
|
1513
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1514
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1515
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1516
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
1517
|
+
[1m[36m (6.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1518
|
+
[1m[35m (15.4ms)[0m TRUNCATE TABLE `comments`;
|
1519
|
+
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1520
|
+
[1m[35m (2.1ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1521
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1522
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1523
|
+
[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')
|
1524
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1525
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:21:45 -0400
|
1526
|
+
Processing by Commenteux::NotesController#new as HTML
|
1527
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1528
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1529
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (70.3ms)
|
1530
|
+
Completed 200 OK in 247ms (Views: 205.6ms | ActiveRecord: 1.9ms)
|
1531
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:21:46 -0400
|
1532
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:21:46 -0400
|
1533
|
+
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
|
1534
|
+
Processing by Commenteux::NotesController#create as JS
|
1535
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1536
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1537
|
+
[1m[35m (0.4ms)[0m BEGIN
|
1538
|
+
[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
|
1539
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1540
|
+
Redirected to http://127.0.0.1:51654/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1541
|
+
Completed 302 Found in 23ms (ActiveRecord: 1.5ms)
|
1542
|
+
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
|
1543
|
+
Processing by Commenteux::NotesController#index as JS
|
1544
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1545
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1546
|
+
[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
|
1547
|
+
[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
|
1548
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (11.1ms)
|
1549
|
+
Completed 200 OK in 41ms (Views: 20.9ms | ActiveRecord: 1.2ms)
|
1550
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1551
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1552
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1553
|
+
[1m[36m (1.0ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1554
|
+
[1m[35m (4.1ms)[0m TRUNCATE TABLE `comments`;
|
1555
|
+
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1556
|
+
[1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1557
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1558
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1559
|
+
[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')
|
1560
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1561
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
|
1562
|
+
Processing by Commenteux::NotesController#new as HTML
|
1563
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1564
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1565
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (75.6ms)
|
1566
|
+
Completed 200 OK in 245ms (Views: 205.2ms | ActiveRecord: 2.0ms)
|
1567
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
|
1568
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:23:08 -0400
|
1569
|
+
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
|
1570
|
+
Processing by Commenteux::NotesController#create as JS
|
1571
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1572
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1573
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1574
|
+
[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
|
1575
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1576
|
+
Redirected to http://127.0.0.1:51778/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1577
|
+
Completed 302 Found in 21ms (ActiveRecord: 1.1ms)
|
1578
|
+
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
|
1579
|
+
Processing by Commenteux::NotesController#index as JS
|
1580
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1581
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1582
|
+
[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
|
1583
|
+
[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
|
1584
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (8.6ms)
|
1585
|
+
Completed 200 OK in 29ms (Views: 16.6ms | ActiveRecord: 0.8ms)
|
1586
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1587
|
+
[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')
|
1588
|
+
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')
|
1589
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1590
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1591
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1592
|
+
[1m[35m (0.1ms)[0m SELECT DATABASE() as db
|
1593
|
+
[1m[36m (6.6ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
1594
|
+
[1m[35m (20.5ms)[0m TRUNCATE TABLE `comments`;
|
1595
|
+
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1596
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1597
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1598
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1599
|
+
[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
|
1600
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1601
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:08 -0400
|
76
1602
|
Processing by Commenteux::NotesController#index as HTML
|
77
|
-
Parameters: {"
|
1603
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1604
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1605
|
+
[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
|
1606
|
+
[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
|
1607
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms)
|
1608
|
+
Completed 200 OK in 138ms (Views: 117.1ms | ActiveRecord: 2.4ms)
|
1609
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:28:08 -0400
|
1610
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:08 -0400
|
1611
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1612
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1613
|
+
[1m[35m (25.8ms)[0m TRUNCATE TABLE `comments`;
|
1614
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1615
|
+
[1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1616
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1617
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1618
|
+
[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
|
1619
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1620
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:11 -0400
|
1621
|
+
Processing by Commenteux::NotesController#new as HTML
|
1622
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1623
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1624
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (42.8ms)
|
1625
|
+
Completed 200 OK in 50ms (Views: 44.0ms | ActiveRecord: 0.3ms)
|
1626
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:11 -0400
|
1627
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1628
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1629
|
+
[1m[35m (26.0ms)[0m TRUNCATE TABLE `comments`;
|
1630
|
+
[1m[36m (3.3ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1631
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1632
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1633
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1634
|
+
[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
|
1635
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1636
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:28:16 -0400
|
1637
|
+
Processing by Commenteux::NotesController#new as HTML
|
1638
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1639
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1640
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.4ms)
|
1641
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
1642
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:16 -0400
|
1643
|
+
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
|
1644
|
+
Processing by Commenteux::NotesController#create as JS
|
1645
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1646
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1647
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1648
|
+
[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')
|
1649
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1650
|
+
Redirected to http://127.0.0.1:51883/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1651
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
1652
|
+
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
|
1653
|
+
Processing by Commenteux::NotesController#index as JS
|
1654
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1655
|
+
[1m[35mDummyModel Load (1.1ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1656
|
+
[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
|
1657
|
+
[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
|
1658
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.9ms)
|
1659
|
+
Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 1.6ms)
|
1660
|
+
[1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
|
1661
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1662
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1663
|
+
[1m[35m (25.6ms)[0m TRUNCATE TABLE `comments`;
|
1664
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1665
|
+
[1m[35m (2.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1666
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1667
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1668
|
+
[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
|
1669
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1670
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:28:19 -0400
|
1671
|
+
Processing by Commenteux::NotesController#index as HTML
|
1672
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1673
|
+
[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
|
1674
|
+
[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
|
1675
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
1676
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
|
1677
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:19 -0400
|
1678
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1679
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1680
|
+
[1m[36m (27.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1681
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_models`;
|
1682
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1683
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1684
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1685
|
+
[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')
|
1686
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1687
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:28:20 -0400
|
1688
|
+
Processing by Commenteux::NotesController#index as HTML
|
1689
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1690
|
+
[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
|
1691
|
+
[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
|
1692
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
1693
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)
|
1694
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:20 -0400
|
1695
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1696
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1697
|
+
[1m[35m (27.0ms)[0m TRUNCATE TABLE `comments`;
|
1698
|
+
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1699
|
+
[1m[35m (3.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1700
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1701
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1702
|
+
[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
|
1703
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1704
|
+
Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
|
1705
|
+
Processing by Commenteux::NotesController#new as HTML
|
1706
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1707
|
+
[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
|
1708
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.2ms)
|
1709
|
+
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
1710
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
|
1711
|
+
Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
|
1712
|
+
Processing by Commenteux::NotesController#create as JS
|
1713
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1714
|
+
[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
|
1715
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1716
|
+
[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')
|
1717
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1718
|
+
Redirected to http://127.0.0.1:51883/commenteux/dummy_no_role_model/1?parent_div=&roles=
|
1719
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
1720
|
+
Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:28:22 -0400
|
1721
|
+
Processing by Commenteux::NotesController#index as JS
|
1722
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1723
|
+
[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
|
1724
|
+
[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
|
1725
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.4ms)
|
1726
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
1727
|
+
[1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
|
1728
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1729
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1730
|
+
[1m[36m (24.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1731
|
+
[1m[35m (4.3ms)[0m TRUNCATE TABLE `dummy_models`;
|
1732
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1733
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1734
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1735
|
+
[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')
|
1736
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1737
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
|
1738
|
+
Processing by Commenteux::NotesController#index as HTML
|
1739
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
78
1740
|
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
79
|
-
[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
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
1741
|
+
[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
|
1742
|
+
[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
|
1743
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms)
|
1744
|
+
Completed 200 OK in 133ms (Views: 108.2ms | ActiveRecord: 2.1ms)
|
1745
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
|
1746
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
|
1747
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1748
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1749
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
1750
|
+
[1m[35m (6.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1751
|
+
[1m[36m (19.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1752
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
|
1753
|
+
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1754
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1755
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1756
|
+
[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')
|
1757
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1758
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
|
1759
|
+
Processing by Commenteux::NotesController#index as HTML
|
1760
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1761
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1762
|
+
[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
|
1763
|
+
[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
|
1764
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
1765
|
+
Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)
|
1766
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:14 -0400
|
1767
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1768
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1769
|
+
[1m[36m (25.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1770
|
+
[1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
|
1771
|
+
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1772
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1773
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1774
|
+
[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')
|
1775
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1776
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:17 -0400
|
1777
|
+
Processing by Commenteux::NotesController#new as HTML
|
1778
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1779
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1780
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.1ms)
|
1781
|
+
Completed 200 OK in 43ms (Views: 35.5ms | ActiveRecord: 0.3ms)
|
1782
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:17 -0400
|
1783
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1784
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1785
|
+
[1m[36m (25.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1786
|
+
[1m[35m (3.2ms)[0m TRUNCATE TABLE `dummy_models`;
|
1787
|
+
[1m[36m (4.0ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1788
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1789
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1790
|
+
[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')
|
1791
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1792
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:29:22 -0400
|
1793
|
+
Processing by Commenteux::NotesController#new as HTML
|
1794
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1795
|
+
[1m[35mDummyModel Load (0.5ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1796
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.5ms)
|
1797
|
+
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.5ms)
|
1798
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:22 -0400
|
1799
|
+
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
|
1800
|
+
Processing by Commenteux::NotesController#create as JS
|
1801
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1802
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1803
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1804
|
+
[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
|
1805
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1806
|
+
Redirected to http://127.0.0.1:52196/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1807
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
1808
|
+
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
|
1809
|
+
Processing by Commenteux::NotesController#index as JS
|
1810
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1811
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1812
|
+
[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
|
1813
|
+
[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
|
1814
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
|
1815
|
+
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.7ms)
|
1816
|
+
[1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
|
1817
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1818
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1819
|
+
[1m[36m (25.6ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1820
|
+
[1m[35m (2.2ms)[0m TRUNCATE TABLE `dummy_models`;
|
1821
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1822
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1823
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1824
|
+
[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')
|
1825
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1826
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:29:25 -0400
|
1827
|
+
Processing by Commenteux::NotesController#index as HTML
|
1828
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1829
|
+
[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
|
1830
|
+
[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
|
1831
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
1832
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)
|
1833
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:26 -0400
|
1834
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1835
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1836
|
+
[1m[35m (26.3ms)[0m TRUNCATE TABLE `comments`;
|
1837
|
+
[1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1838
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1839
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1840
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1841
|
+
[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
|
1842
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1843
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:29:26 -0400
|
1844
|
+
Processing by Commenteux::NotesController#index as HTML
|
1845
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1846
|
+
[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
|
1847
|
+
[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
|
1848
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
1849
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
1850
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:26 -0400
|
1851
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1852
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1853
|
+
[1m[36m (25.2ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1854
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
|
1855
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1856
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1857
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1858
|
+
[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')
|
1859
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1860
|
+
Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
|
1861
|
+
Processing by Commenteux::NotesController#new as HTML
|
1862
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1863
|
+
[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
|
1864
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (7.3ms)
|
1865
|
+
Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.2ms)
|
1866
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
|
1867
|
+
Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
|
1868
|
+
Processing by Commenteux::NotesController#create as JS
|
1869
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1870
|
+
[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
|
1871
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1872
|
+
[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
|
1873
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1874
|
+
Redirected to http://127.0.0.1:52196/commenteux/dummy_no_role_model/1?parent_div=&roles=
|
1875
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
1876
|
+
Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:29:28 -0400
|
1877
|
+
Processing by Commenteux::NotesController#index as JS
|
1878
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1879
|
+
[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
|
1880
|
+
[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
|
1881
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms)
|
1882
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
1883
|
+
[1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
|
1884
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1885
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1886
|
+
[1m[35m (27.3ms)[0m TRUNCATE TABLE `comments`;
|
1887
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1888
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1889
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1890
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1891
|
+
[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')
|
1892
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1893
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
|
1894
|
+
Processing by Commenteux::NotesController#index as HTML
|
1895
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1896
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1897
|
+
[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
|
1898
|
+
[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
|
1899
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.4ms)
|
1900
|
+
Completed 200 OK in 42ms (Views: 14.1ms | ActiveRecord: 2.2ms)
|
1901
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
|
1902
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
|
1903
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1904
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1905
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
1906
|
+
[1m[35m (7.1ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
1907
|
+
[1m[36m (19.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1908
|
+
[1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
|
1909
|
+
[1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1910
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1911
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1912
|
+
[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')
|
1913
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1914
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:50 -0400
|
1915
|
+
Processing by Commenteux::NotesController#index as HTML
|
1916
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1917
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1918
|
+
[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
|
1919
|
+
[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
|
1920
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
1921
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)
|
1922
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1923
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1924
|
+
[1m[36m (25.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1925
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_models`;
|
1926
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1927
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1928
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1929
|
+
[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')
|
1930
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1931
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:53 -0400
|
1932
|
+
Processing by Commenteux::NotesController#new as HTML
|
1933
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1934
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1935
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (34.4ms)
|
1936
|
+
Completed 200 OK in 48ms (Views: 35.7ms | ActiveRecord: 0.3ms)
|
1937
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1938
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1939
|
+
[1m[36m (27.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1940
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
|
1941
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1942
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1943
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1944
|
+
[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')
|
1945
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1946
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:30:55 -0400
|
1947
|
+
Processing by Commenteux::NotesController#new as HTML
|
1948
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1949
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
1950
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms)
|
1951
|
+
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
1952
|
+
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
|
1953
|
+
Processing by Commenteux::NotesController#create as JS
|
1954
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1955
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1956
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1957
|
+
[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
|
1958
|
+
[1m[35m (11.8ms)[0m COMMIT
|
1959
|
+
Redirected to http://127.0.0.1:52558/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
1960
|
+
Completed 302 Found in 45ms (ActiveRecord: 13.0ms)
|
1961
|
+
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
|
1962
|
+
Processing by Commenteux::NotesController#index as JS
|
1963
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
1964
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
1965
|
+
[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
|
1966
|
+
[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
|
1967
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.0ms)
|
1968
|
+
Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.6ms)
|
1969
|
+
[1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
|
1970
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
1971
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
1972
|
+
[1m[36m (26.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
1973
|
+
[1m[35m (2.5ms)[0m TRUNCATE TABLE `dummy_models`;
|
1974
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
1975
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
1976
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1977
|
+
[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')
|
1978
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1979
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:30:59 -0400
|
1980
|
+
Processing by Commenteux::NotesController#index as HTML
|
1981
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1982
|
+
[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
|
1983
|
+
[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
|
1984
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
1985
|
+
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)
|
1986
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
1987
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
1988
|
+
[1m[35m (26.3ms)[0m TRUNCATE TABLE `comments`;
|
1989
|
+
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
1990
|
+
[1m[35m (4.2ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
1991
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
1992
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1993
|
+
[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
|
1994
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1995
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:30:59 -0400
|
1996
|
+
Processing by Commenteux::NotesController#index as HTML
|
1997
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
1998
|
+
[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
|
1999
|
+
[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
|
2000
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
2001
|
+
Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)
|
2002
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2003
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2004
|
+
[1m[36m (25.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2005
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
|
2006
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2007
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2008
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2009
|
+
[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')
|
2010
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2011
|
+
Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:31:01 -0400
|
2012
|
+
Processing by Commenteux::NotesController#new as HTML
|
2013
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2014
|
+
[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
|
2015
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.4ms)
|
2016
|
+
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
2017
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:31:01 -0400
|
2018
|
+
Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:31:02 -0400
|
2019
|
+
Processing by Commenteux::NotesController#create as JS
|
2020
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2021
|
+
[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
|
2022
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2023
|
+
[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
|
2024
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2025
|
+
Redirected to http://127.0.0.1:52558/commenteux/dummy_no_role_model/1?parent_div=&roles=
|
2026
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
2027
|
+
Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:31:02 -0400
|
2028
|
+
Processing by Commenteux::NotesController#index as JS
|
2029
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2030
|
+
[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
|
2031
|
+
[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
|
2032
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.2ms)
|
2033
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
2034
|
+
[1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
|
2035
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2036
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2037
|
+
[1m[35m (27.2ms)[0m TRUNCATE TABLE `comments`;
|
2038
|
+
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2039
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2040
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2041
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2042
|
+
[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')
|
2043
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2044
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
|
2045
|
+
Processing by Commenteux::NotesController#index as HTML
|
2046
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2047
|
+
[1m[35mDummyModel Load (0.6ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2048
|
+
[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
|
2049
|
+
[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
|
2050
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.6ms)
|
2051
|
+
Completed 200 OK in 137ms (Views: 113.7ms | ActiveRecord: 2.6ms)
|
2052
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
|
2053
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
|
2054
|
+
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2055
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2056
|
+
[1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
|
2057
|
+
[1m[35m (6.8ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
2058
|
+
[1m[36m (20.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2059
|
+
[1m[35m (2.8ms)[0m TRUNCATE TABLE `dummy_models`;
|
2060
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2061
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2062
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2063
|
+
[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')
|
2064
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2065
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
|
2066
|
+
Processing by Commenteux::NotesController#index as HTML
|
2067
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2068
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2069
|
+
[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
|
2070
|
+
[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
|
2071
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
2072
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
|
2073
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:27 -0400
|
2074
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2075
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2076
|
+
[1m[36m (25.5ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2077
|
+
[1m[35m (3.3ms)[0m TRUNCATE TABLE `dummy_models`;
|
2078
|
+
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2079
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2080
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2081
|
+
[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')
|
2082
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2083
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
|
2084
|
+
Processing by Commenteux::NotesController#new as HTML
|
2085
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2086
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2087
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (33.8ms)
|
2088
|
+
Completed 200 OK in 41ms (Views: 34.9ms | ActiveRecord: 0.3ms)
|
2089
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
|
2090
|
+
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
|
2091
|
+
Processing by Commenteux::NotesController#index as HTML
|
2092
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2093
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
2094
|
+
[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
|
2095
|
+
[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
|
2096
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.6ms)
|
2097
|
+
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.6ms)
|
2098
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2099
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2100
|
+
[1m[35m (26.2ms)[0m TRUNCATE TABLE `comments`;
|
2101
|
+
[1m[36m (3.1ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2102
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2103
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2104
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2105
|
+
[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
|
2106
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2107
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
|
2108
|
+
Processing by Commenteux::NotesController#new as HTML
|
2109
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2110
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
2111
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (3.1ms)
|
2112
|
+
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
2113
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:30 -0400
|
2114
|
+
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
|
2115
|
+
Processing by Commenteux::NotesController#create as JS
|
2116
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2117
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2118
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2119
|
+
[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')
|
2120
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2121
|
+
Redirected to http://127.0.0.1:52912/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
2122
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
|
2123
|
+
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
|
2124
|
+
Processing by Commenteux::NotesController#index as JS
|
2125
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2126
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2127
|
+
[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
|
2128
|
+
[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
|
2129
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.1ms)
|
2130
|
+
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.7ms)
|
2131
|
+
[1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
|
2132
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2133
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2134
|
+
[1m[35m (26.1ms)[0m TRUNCATE TABLE `comments`;
|
2135
|
+
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2136
|
+
[1m[35m (2.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2137
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2138
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2139
|
+
[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
|
2140
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2141
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
|
2142
|
+
Processing by Commenteux::NotesController#index as HTML
|
2143
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2144
|
+
[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
|
2145
|
+
[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
|
2146
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.1ms)
|
2147
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
|
2148
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
|
2149
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2150
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2151
|
+
[1m[36m (54.0ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2152
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
|
2153
|
+
[1m[36m (3.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2154
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2155
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2156
|
+
[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')
|
2157
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2158
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
|
2159
|
+
Processing by Commenteux::NotesController#index as HTML
|
2160
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2161
|
+
[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
|
2162
|
+
[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
|
2163
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.7ms)
|
2164
|
+
Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.6ms)
|
2165
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:34 -0400
|
2166
|
+
[1m[35m (0.2ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2167
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2168
|
+
[1m[35m (3.2ms)[0m TRUNCATE TABLE `comments`;
|
2169
|
+
[1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2170
|
+
[1m[35m (2.3ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2171
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2172
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2173
|
+
[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
|
2174
|
+
[1m[35m (0.2ms)[0m COMMIT
|
2175
|
+
Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
|
2176
|
+
Processing by Commenteux::NotesController#new as HTML
|
2177
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2178
|
+
[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
|
2179
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms)
|
2180
|
+
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
2181
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
|
2182
|
+
Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
|
2183
|
+
Processing by Commenteux::NotesController#create as JS
|
2184
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2185
|
+
[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
|
2186
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2187
|
+
[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')
|
2188
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2189
|
+
Redirected to http://127.0.0.1:52912/commenteux/dummy_no_role_model/1?parent_div=&roles=
|
2190
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
2191
|
+
Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:33:36 -0400
|
2192
|
+
Processing by Commenteux::NotesController#index as JS
|
2193
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2194
|
+
[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
|
2195
|
+
[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
|
2196
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms)
|
2197
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
2198
|
+
[1m[35mComment Load (0.4ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
|
2199
|
+
[1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2200
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2201
|
+
[1m[36m (26.0ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2202
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_models`;
|
2203
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2204
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2205
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2206
|
+
[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')
|
2207
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2208
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
|
2209
|
+
Processing by Commenteux::NotesController#index as HTML
|
2210
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2211
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2212
|
+
[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
|
2213
|
+
[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
|
2214
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.7ms)
|
2215
|
+
Completed 200 OK in 38ms (Views: 16.7ms | ActiveRecord: 2.2ms)
|
2216
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
|
2217
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
|
2218
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2219
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2220
|
+
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
|
2221
|
+
[1m[35m (7.1ms)[0m select table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'
|
2222
|
+
[1m[36m (18.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2223
|
+
[1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_models`;
|
2224
|
+
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2225
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2226
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2227
|
+
[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')
|
2228
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2229
|
+
Started GET "/commenteux/dummy_model/1?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:33 -0400
|
2230
|
+
Processing by Commenteux::NotesController#index as HTML
|
2231
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2232
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2233
|
+
[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
|
2234
|
+
[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
|
2235
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
2236
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.6ms)
|
2237
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2238
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2239
|
+
[1m[36m (26.4ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2240
|
+
[1m[35m (2.9ms)[0m TRUNCATE TABLE `dummy_models`;
|
2241
|
+
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2242
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2243
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2244
|
+
[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')
|
2245
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2246
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
|
2247
|
+
Processing by Commenteux::NotesController#new as HTML
|
2248
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2249
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2250
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (32.0ms)
|
2251
|
+
Completed 200 OK in 46ms (Views: 33.2ms | ActiveRecord: 0.4ms)
|
2252
|
+
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
|
2253
|
+
Processing by Commenteux::NotesController#index as HTML
|
2254
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2255
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
2256
|
+
[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
|
2257
|
+
[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
|
2258
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.5ms)
|
2259
|
+
Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.8ms)
|
2260
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2261
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2262
|
+
[1m[35m (26.6ms)[0m TRUNCATE TABLE `comments`;
|
2263
|
+
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2264
|
+
[1m[35m (2.6ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2265
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2266
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2267
|
+
[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
|
2268
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2269
|
+
Started GET "/commenteux/dummy_model/1/new?roles=comments,delivery_man" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
|
2270
|
+
Processing by Commenteux::NotesController#new as HTML
|
2271
|
+
Parameters: {"roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2272
|
+
[1m[36mDummyModel Load (0.2ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
2273
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.6ms)
|
2274
|
+
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
2275
|
+
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
|
2276
|
+
Processing by Commenteux::NotesController#create as JS
|
2277
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire", "role"=>"delivery_man"}, "parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2278
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2279
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2280
|
+
[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')
|
2281
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2282
|
+
Redirected to http://127.0.0.1:53191/commenteux/dummy_model/1?parent_div=&roles=comments,delivery_man
|
2283
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
2284
|
+
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
|
2285
|
+
Processing by Commenteux::NotesController#index as JS
|
2286
|
+
Parameters: {"parent_div"=>"", "roles"=>"comments,delivery_man", "resource"=>"dummy_model", "resource_id"=>"1"}
|
2287
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
2288
|
+
[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
|
2289
|
+
[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
|
2290
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (3.2ms)
|
2291
|
+
Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.5ms)
|
2292
|
+
[1m[36mComment Load (0.3ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1[0m
|
2293
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2294
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2295
|
+
[1m[35m (26.9ms)[0m TRUNCATE TABLE `comments`;
|
2296
|
+
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2297
|
+
[1m[35m (3.0ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2298
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2299
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2300
|
+
[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
|
2301
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2302
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:34:36 -0400
|
2303
|
+
Processing by Commenteux::NotesController#index as HTML
|
2304
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2305
|
+
[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
|
2306
|
+
[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
|
2307
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
2308
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
|
2309
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2310
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2311
|
+
[1m[36m (25.9ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2312
|
+
[1m[35m (7.6ms)[0m TRUNCATE TABLE `dummy_models`;
|
2313
|
+
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2314
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2315
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2316
|
+
[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')
|
2317
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2318
|
+
Started GET "/commenteux/dummy_no_role_model/1" for 127.0.0.1 at 2015-06-16 10:34:37 -0400
|
2319
|
+
Processing by Commenteux::NotesController#index as HTML
|
2320
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2321
|
+
[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
|
2322
|
+
[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
|
2323
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (0.2ms)
|
2324
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
2325
|
+
[1m[35m (0.1ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2326
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2327
|
+
[1m[35m (26.1ms)[0m TRUNCATE TABLE `comments`;
|
2328
|
+
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2329
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2330
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
2331
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2332
|
+
[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
|
2333
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2334
|
+
Started GET "/commenteux/dummy_no_role_model/1/new" for 127.0.0.1 at 2015-06-16 10:34:39 -0400
|
2335
|
+
Processing by Commenteux::NotesController#new as HTML
|
2336
|
+
Parameters: {"resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2337
|
+
[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
|
2338
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb within layouts/application (2.1ms)
|
2339
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
2340
|
+
Started POST "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:34:39 -0400
|
2341
|
+
Processing by Commenteux::NotesController#create as JS
|
2342
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"Ceci est un commentaire"}, "parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2343
|
+
[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
|
2344
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2345
|
+
[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')
|
2346
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2347
|
+
Redirected to http://127.0.0.1:53191/commenteux/dummy_no_role_model/1?parent_div=&roles=
|
2348
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
2349
|
+
Started GET "/commenteux/dummy_no_role_model/1?parent_div=&roles=" for 127.0.0.1 at 2015-06-16 10:34:39 -0400
|
2350
|
+
Processing by Commenteux::NotesController#index as JS
|
2351
|
+
Parameters: {"parent_div"=>"", "roles"=>"", "resource"=>"dummy_no_role_model", "resource_id"=>"1"}
|
2352
|
+
[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
|
2353
|
+
[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
|
2354
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.3ms)
|
2355
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
2356
|
+
[1m[35mComment Load (0.3ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 ORDER BY created_at ASC LIMIT 1
|
2357
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
2358
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
2359
|
+
[1m[36m (26.3ms)[0m [1mTRUNCATE TABLE `comments`;[0m
|
2360
|
+
[1m[35m (2.4ms)[0m TRUNCATE TABLE `dummy_models`;
|
2361
|
+
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `dummy_no_role_models`;[0m
|
2362
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
|
2363
|
+
[1m[35m (0.3ms)[0m SELECT @@FOREIGN_KEY_CHECKS
|
2364
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 0[0m
|
2365
|
+
[1m[35m (0.2ms)[0m SELECT DATABASE() as db
|
2366
|
+
[1m[36m (1.5ms)[0m [1mselect table_name from information_schema.views where table_schema = 'notes_dummy_bd_test'[0m
|
2367
|
+
[1m[35m (7.9ms)[0m TRUNCATE TABLE `comments`;
|
2368
|
+
[1m[36m (3.4ms)[0m [1mTRUNCATE TABLE `dummy_models`;[0m
|
2369
|
+
[1m[35m (3.4ms)[0m TRUNCATE TABLE `dummy_no_role_models`;
|
2370
|
+
[1m[36m (0.1ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|