commenteux 1.0.6 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +12 -3
- data/app/assets/javascripts/commenteux/application.js.coffee +0 -12
- data/app/views/commenteux/notes/index.html.erb +0 -1
- data/lib/commenteux/version.rb +1 -1
- data/spec/dummy/app/assets/javascripts/application.js +1 -0
- data/spec/dummy/log/development.log +519 -0
- 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
- metadata +33 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c09bd987f58f79e8930ad6d184b0e818af7eec70
|
4
|
+
data.tar.gz: 76fb007d0e64a0a0a7625042639bfb53346baf39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e68fb42e93d751e9a33b3e5f284c6ee6e4cbfed6e13e635149249edcf8ee63f38ce52b1f9bdc2eb6d4a8fc6ac19522e87d90f8cfaef9cc322a0ec502f6b66ada
|
7
|
+
data.tar.gz: 89d55f4c589d546b29d58a849b961121ed090dfdba8fa72ada4064adc3b429bd270b8573c7f9ca9db7c1165583d9b4a7a1cd72faa5d8386a4fb88f58869648b8
|
data/README.rdoc
CHANGED
@@ -32,6 +32,14 @@ The routes that will be available are :
|
|
32
32
|
|
33
33
|
where :resource is the name of your model (you can use namespace)
|
34
34
|
|
35
|
+
|
36
|
+
====Include the needed javascript file in your application.js or application.js.coffee
|
37
|
+
|
38
|
+
==== Javascript
|
39
|
+
//= require commenteux/application
|
40
|
+
==== CoffeeScript
|
41
|
+
#= require commenteux/application
|
42
|
+
|
35
43
|
Call url of commenteux screens, for exemple, like that:
|
36
44
|
|
37
45
|
<%= link_to "<i class='icon-file-text text-blue'></i> Notes".html_safe,
|
@@ -41,7 +49,6 @@ Call url of commenteux screens, for exemple, like that:
|
|
41
49
|
With a binding like that in your application.js
|
42
50
|
|
43
51
|
$(document).delegate '#notes_tab', 'ajax:success', (e, data, status, xhr) ->
|
44
|
-
console.log(xhr.responseText)
|
45
52
|
$('.tab_header').removeClass('active')
|
46
53
|
$('#notes_tab_header').addClass('active')
|
47
54
|
$('#ajax_target').html(xhr.responseText)
|
@@ -49,11 +56,13 @@ With a binding like that in your application.js
|
|
49
56
|
|
50
57
|
== Credits
|
51
58
|
|
52
|
-
jackdempsey - The creator of acts_as_commentable.
|
59
|
+
{Jack Dempsey}[http://github.com/jackdempsey] - The creator of acts_as_commentable.
|
53
60
|
|
54
61
|
== Contributors
|
55
62
|
|
56
|
-
seurdge
|
63
|
+
{Serge Savoie}[http://github.com/seurdge]
|
64
|
+
|
65
|
+
{Rémi Gagnon}[http://github.com/rgagnon]
|
57
66
|
|
58
67
|
== More
|
59
68
|
|
@@ -33,22 +33,10 @@ $ () ->
|
|
33
33
|
@
|
34
34
|
|
35
35
|
$(document).delegate '#new_comments', 'ajax:success', (e, data, status, xhr) ->
|
36
|
-
|
37
36
|
event.stopPropagation()
|
38
37
|
event.preventDefault()
|
39
38
|
#console.log('new_comments ajax success')
|
40
|
-
|
41
|
-
#TODO SS
|
42
|
-
#alert(e);
|
43
39
|
parent = $('#new_comments').attr('data-parent')
|
44
|
-
parent = data.substring(data.indexOf('data-parent') + 12, data.indexOf('data-resource'));
|
45
|
-
parent = parent.replace('"', '')
|
46
|
-
parent = parent.replace('"', '')
|
47
|
-
parent = parent.replace(' ', '')
|
48
|
-
|
49
|
-
#console.log('parent = ' + parent)
|
50
|
-
#console.log('data = ' + data)
|
51
|
-
#console.log('xhr.getresponseHeader = ' + xhr.responseXML)
|
52
40
|
if parent
|
53
41
|
$('#' + parent).html(xhr.responseText)
|
54
42
|
else
|
data/lib/commenteux/version.rb
CHANGED
@@ -0,0 +1,519 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Started GET "/" for 127.0.0.1 at 2014-03-21 10:31:23 -0400
|
4
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
5
|
+
Processing by Rails::WelcomeController#index as HTML
|
6
|
+
Rendered /Users/seurdge/.rvm/gems/ruby-2.0.0-p353@notes/gems/railties-4.0.4/lib/rails/templates/rails/welcome/index.html.erb (2.0ms)
|
7
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
8
|
+
|
9
|
+
|
10
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:32:08 -0400
|
11
|
+
Processing by Commenteux::NotesController#index as HTML
|
12
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
13
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
14
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
15
|
+
[1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
16
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (197.6ms)
|
17
|
+
Completed 200 OK in 330ms (Views: 284.4ms | ActiveRecord: 5.3ms)
|
18
|
+
|
19
|
+
|
20
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-21 10:32:08 -0400
|
21
|
+
|
22
|
+
|
23
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:32:08 -0400
|
24
|
+
|
25
|
+
|
26
|
+
Started GET "/assets/commenteux/application.js?body=1" for 127.0.0.1 at 2014-03-21 10:32:08 -0400
|
27
|
+
|
28
|
+
|
29
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:32:08 -0400
|
30
|
+
|
31
|
+
|
32
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-21 10:32:08 -0400
|
33
|
+
|
34
|
+
|
35
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:32:27 -0400
|
36
|
+
Processing by Commenteux::NotesController#new as HTML
|
37
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
38
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
39
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (81.5ms)
|
40
|
+
Completed 200 OK in 93ms (Views: 87.8ms | ActiveRecord: 0.4ms)
|
41
|
+
|
42
|
+
|
43
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:32:33 -0400
|
44
|
+
Processing by Commenteux::NotesController#create as JS
|
45
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"rr"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
46
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
47
|
+
[1m[35m (0.1ms)[0m BEGIN
|
48
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('rr', 1, 'DummyModel', '2014-03-21 14:32:33', '2014-03-21 14:32:33')[0m
|
49
|
+
[1m[35m (0.5ms)[0m COMMIT
|
50
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
51
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.4ms)
|
52
|
+
|
53
|
+
|
54
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:32:33 -0400
|
55
|
+
Processing by Commenteux::NotesController#index as JS
|
56
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
57
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
58
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
59
|
+
[1m[35mComment Load (0.6ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
|
60
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.1ms)
|
61
|
+
Completed 200 OK in 13ms (Views: 7.7ms | ActiveRecord: 1.0ms)
|
62
|
+
|
63
|
+
|
64
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412328711" for 127.0.0.1 at 2014-03-21 10:32:33 -0400
|
65
|
+
|
66
|
+
|
67
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:33:51 -0400
|
68
|
+
Processing by Commenteux::NotesController#new as HTML
|
69
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
70
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
71
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (5.0ms)
|
72
|
+
Completed 200 OK in 16ms (Views: 12.6ms | ActiveRecord: 0.4ms)
|
73
|
+
|
74
|
+
|
75
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:33:55 -0400
|
76
|
+
Processing by Commenteux::NotesController#create as JS
|
77
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"q"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
78
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
79
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
80
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('q', 1, 'DummyModel', '2014-03-21 14:33:55', '2014-03-21 14:33:55')
|
81
|
+
[1m[36m (1.4ms)[0m [1mCOMMIT[0m
|
82
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
83
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
|
84
|
+
|
85
|
+
|
86
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:33:55 -0400
|
87
|
+
Processing by Commenteux::NotesController#index as JS
|
88
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
89
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
90
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
91
|
+
[1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
92
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (160.5ms)
|
93
|
+
Completed 200 OK in 169ms (Views: 165.5ms | ActiveRecord: 0.7ms)
|
94
|
+
|
95
|
+
|
96
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412328712" for 127.0.0.1 at 2014-03-21 10:33:56 -0400
|
97
|
+
|
98
|
+
|
99
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412328713" for 127.0.0.1 at 2014-03-21 10:33:56 -0400
|
100
|
+
|
101
|
+
|
102
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:34:07 -0400
|
103
|
+
Processing by Commenteux::NotesController#index as HTML
|
104
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
105
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
106
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
107
|
+
[1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
108
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.1ms)
|
109
|
+
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.8ms)
|
110
|
+
|
111
|
+
|
112
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:34:07 -0400
|
113
|
+
|
114
|
+
|
115
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:34:07 -0400
|
116
|
+
|
117
|
+
|
118
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:10 -0400
|
119
|
+
Processing by Commenteux::NotesController#new as HTML
|
120
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
121
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
122
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (3.6ms)
|
123
|
+
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
|
124
|
+
|
125
|
+
|
126
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:14 -0400
|
127
|
+
Processing by Commenteux::NotesController#create as JS
|
128
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"1"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
129
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
130
|
+
[1m[35m (0.1ms)[0m BEGIN
|
131
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('1', 1, 'DummyModel', '2014-03-21 14:34:14', '2014-03-21 14:34:14')[0m
|
132
|
+
[1m[35m (1.5ms)[0m COMMIT
|
133
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
134
|
+
Completed 302 Found in 7ms (ActiveRecord: 2.3ms)
|
135
|
+
|
136
|
+
|
137
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:14 -0400
|
138
|
+
Processing by Commenteux::NotesController#index as JS
|
139
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
140
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
141
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
142
|
+
[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
|
143
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms)
|
144
|
+
Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.7ms)
|
145
|
+
|
146
|
+
|
147
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412447723" for 127.0.0.1 at 2014-03-21 10:34:14 -0400
|
148
|
+
|
149
|
+
|
150
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:34:32 -0400
|
151
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
152
|
+
Processing by Commenteux::NotesController#index as HTML
|
153
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
154
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
155
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
156
|
+
[1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
157
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (9.0ms)
|
158
|
+
Completed 200 OK in 124ms (Views: 80.7ms | ActiveRecord: 4.5ms)
|
159
|
+
|
160
|
+
|
161
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:34:32 -0400
|
162
|
+
|
163
|
+
|
164
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:34:32 -0400
|
165
|
+
|
166
|
+
|
167
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:34 -0400
|
168
|
+
Processing by Commenteux::NotesController#new as HTML
|
169
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
170
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
171
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (77.9ms)
|
172
|
+
Completed 200 OK in 85ms (Views: 82.2ms | ActiveRecord: 0.3ms)
|
173
|
+
|
174
|
+
|
175
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:42 -0400
|
176
|
+
Processing by Commenteux::NotesController#create as JS
|
177
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"2"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
178
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
179
|
+
[1m[35m (2.1ms)[0m BEGIN
|
180
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('2', 1, 'DummyModel', '2014-03-21 14:34:42', '2014-03-21 14:34:42')[0m
|
181
|
+
[1m[35m (0.5ms)[0m COMMIT
|
182
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
183
|
+
Completed 302 Found in 12ms (ActiveRecord: 3.3ms)
|
184
|
+
|
185
|
+
|
186
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:42 -0400
|
187
|
+
Processing by Commenteux::NotesController#index as JS
|
188
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
189
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
190
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
191
|
+
[1m[35mComment Load (0.5ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
|
192
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (2.1ms)
|
193
|
+
Completed 200 OK in 13ms (Views: 8.1ms | ActiveRecord: 0.8ms)
|
194
|
+
|
195
|
+
|
196
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472343" for 127.0.0.1 at 2014-03-21 10:34:42 -0400
|
197
|
+
|
198
|
+
|
199
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:45 -0400
|
200
|
+
Processing by Commenteux::NotesController#new as HTML
|
201
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
202
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
203
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (4.5ms)
|
204
|
+
Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.3ms)
|
205
|
+
|
206
|
+
|
207
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:50 -0400
|
208
|
+
Processing by Commenteux::NotesController#create as JS
|
209
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"3"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
210
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
211
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
212
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('3', 1, 'DummyModel', '2014-03-21 14:34:50', '2014-03-21 14:34:50')
|
213
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
214
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
215
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
|
216
|
+
|
217
|
+
|
218
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:50 -0400
|
219
|
+
Processing by Commenteux::NotesController#index as JS
|
220
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
221
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
222
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
223
|
+
[1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
224
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms)
|
225
|
+
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.8ms)
|
226
|
+
|
227
|
+
|
228
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472344" for 127.0.0.1 at 2014-03-21 10:34:50 -0400
|
229
|
+
|
230
|
+
|
231
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472345" for 127.0.0.1 at 2014-03-21 10:34:50 -0400
|
232
|
+
|
233
|
+
|
234
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:53 -0400
|
235
|
+
Processing by Commenteux::NotesController#new as HTML
|
236
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
237
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
238
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (3.3ms)
|
239
|
+
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
|
240
|
+
|
241
|
+
|
242
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:59 -0400
|
243
|
+
Processing by Commenteux::NotesController#create as JS
|
244
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"4"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
245
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
246
|
+
[1m[35m (0.1ms)[0m BEGIN
|
247
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('4', 1, 'DummyModel', '2014-03-21 14:34:59', '2014-03-21 14:34:59')[0m
|
248
|
+
[1m[35m (1.7ms)[0m COMMIT
|
249
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
250
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.5ms)
|
251
|
+
|
252
|
+
|
253
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:34:59 -0400
|
254
|
+
Processing by Commenteux::NotesController#index as JS
|
255
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
256
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
257
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
258
|
+
[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
|
259
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.4ms)
|
260
|
+
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.7ms)
|
261
|
+
|
262
|
+
|
263
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472346" for 127.0.0.1 at 2014-03-21 10:34:59 -0400
|
264
|
+
|
265
|
+
|
266
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472347" for 127.0.0.1 at 2014-03-21 10:34:59 -0400
|
267
|
+
|
268
|
+
|
269
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472348" for 127.0.0.1 at 2014-03-21 10:34:59 -0400
|
270
|
+
|
271
|
+
|
272
|
+
Started GET "/assets/commenteux/application.js?body=1&_=1395412472349" for 127.0.0.1 at 2014-03-21 10:34:59 -0400
|
273
|
+
|
274
|
+
|
275
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:38:09 -0400
|
276
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
277
|
+
Processing by Commenteux::NotesController#index as HTML
|
278
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
279
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
280
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
281
|
+
[1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
282
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (4.7ms)
|
283
|
+
Completed 200 OK in 116ms (Views: 70.2ms | ActiveRecord: 5.0ms)
|
284
|
+
|
285
|
+
|
286
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:38:09 -0400
|
287
|
+
|
288
|
+
|
289
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:38:09 -0400
|
290
|
+
|
291
|
+
|
292
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:50:41 -0400
|
293
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
294
|
+
Processing by Commenteux::NotesController#index as HTML
|
295
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
296
|
+
[1m[35mDummyModel Load (0.2ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
297
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
298
|
+
[1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
299
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.8ms)
|
300
|
+
Completed 200 OK in 128ms (Views: 85.9ms | ActiveRecord: 5.1ms)
|
301
|
+
|
302
|
+
|
303
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:50:41 -0400
|
304
|
+
|
305
|
+
|
306
|
+
Started GET "/assets/commenteux/application.js?body=1" for 127.0.0.1 at 2014-03-21 10:50:41 -0400
|
307
|
+
|
308
|
+
|
309
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:50:41 -0400
|
310
|
+
|
311
|
+
|
312
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:50:47 -0400
|
313
|
+
Processing by Commenteux::NotesController#index as HTML
|
314
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
315
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
316
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
317
|
+
[1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
318
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (1.1ms)
|
319
|
+
Completed 200 OK in 41ms (Views: 7.3ms | ActiveRecord: 0.9ms)
|
320
|
+
|
321
|
+
|
322
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:50:47 -0400
|
323
|
+
|
324
|
+
|
325
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:50:47 -0400
|
326
|
+
|
327
|
+
|
328
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:50:50 -0400
|
329
|
+
Processing by Commenteux::NotesController#new as HTML
|
330
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
331
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
332
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (52.0ms)
|
333
|
+
Completed 200 OK in 59ms (Views: 57.3ms | ActiveRecord: 0.3ms)
|
334
|
+
|
335
|
+
|
336
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:50:54 -0400
|
337
|
+
Processing by Commenteux::NotesController#create as JS
|
338
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"5"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
339
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
340
|
+
[1m[35m (0.1ms)[0m BEGIN
|
341
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('5', 1, 'DummyModel', '2014-03-21 14:50:54', '2014-03-21 14:50:54')[0m
|
342
|
+
[1m[35m (1.2ms)[0m COMMIT
|
343
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
344
|
+
Completed 302 Found in 8ms (ActiveRecord: 2.0ms)
|
345
|
+
|
346
|
+
|
347
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:50:54 -0400
|
348
|
+
Processing by Commenteux::NotesController#index as JS
|
349
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
350
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
351
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
352
|
+
[1m[35mComment Load (0.6ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
|
353
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.6ms)
|
354
|
+
Completed 200 OK in 38ms (Views: 7.0ms | ActiveRecord: 0.9ms)
|
355
|
+
|
356
|
+
|
357
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:50:56 -0400
|
358
|
+
Processing by Commenteux::NotesController#new as HTML
|
359
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
360
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
361
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (4.1ms)
|
362
|
+
Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.3ms)
|
363
|
+
|
364
|
+
|
365
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:50:59 -0400
|
366
|
+
Processing by Commenteux::NotesController#create as JS
|
367
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"6"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
368
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
369
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
370
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('6', 1, 'DummyModel', '2014-03-21 14:50:59', '2014-03-21 14:50:59')
|
371
|
+
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
372
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
373
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
|
374
|
+
|
375
|
+
|
376
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:50:59 -0400
|
377
|
+
Processing by Commenteux::NotesController#index as JS
|
378
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
379
|
+
[1m[35mDummyModel Load (0.4ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
380
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
381
|
+
[1m[36mComment Load (0.6ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
382
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (0.9ms)
|
383
|
+
Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.9ms)
|
384
|
+
|
385
|
+
|
386
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:51:02 -0400
|
387
|
+
Processing by Commenteux::NotesController#new as HTML
|
388
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
389
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
390
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (4.1ms)
|
391
|
+
Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.3ms)
|
392
|
+
|
393
|
+
|
394
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:51:05 -0400
|
395
|
+
Processing by Commenteux::NotesController#create as JS
|
396
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"7"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
397
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
398
|
+
[1m[35m (0.1ms)[0m BEGIN
|
399
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('7', 1, 'DummyModel', '2014-03-21 14:51:05', '2014-03-21 14:51:05')[0m
|
400
|
+
[1m[35m (0.5ms)[0m COMMIT
|
401
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
402
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
403
|
+
|
404
|
+
|
405
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:51:05 -0400
|
406
|
+
Processing by Commenteux::NotesController#index as JS
|
407
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
408
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
409
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
410
|
+
[1m[35mComment Load (0.5ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
|
411
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms)
|
412
|
+
Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.8ms)
|
413
|
+
|
414
|
+
|
415
|
+
Started GET "/commenteux/dummy_model/1" for 127.0.0.1 at 2014-03-21 10:53:11 -0400
|
416
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
417
|
+
Processing by Commenteux::NotesController#index as HTML
|
418
|
+
Parameters: {"resource"=>"dummy_model", "resource_id"=>"1"}
|
419
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
420
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
421
|
+
[1m[36mComment Load (0.4ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
422
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb within layouts/application (3.6ms)
|
423
|
+
Completed 200 OK in 402ms (Views: 359.1ms | ActiveRecord: 5.2ms)
|
424
|
+
|
425
|
+
|
426
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-21 10:53:11 -0400
|
427
|
+
|
428
|
+
|
429
|
+
Started GET "/assets/commenteux/application.js?body=1" for 127.0.0.1 at 2014-03-21 10:53:12 -0400
|
430
|
+
|
431
|
+
|
432
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-21 10:53:12 -0400
|
433
|
+
|
434
|
+
|
435
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:13 -0400
|
436
|
+
Processing by Commenteux::NotesController#new as HTML
|
437
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
438
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
439
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (76.2ms)
|
440
|
+
Completed 200 OK in 86ms (Views: 82.8ms | ActiveRecord: 0.3ms)
|
441
|
+
|
442
|
+
|
443
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:16 -0400
|
444
|
+
Processing by Commenteux::NotesController#create as JS
|
445
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"8"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
446
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
447
|
+
[1m[35m (0.1ms)[0m BEGIN
|
448
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('8', 1, 'DummyModel', '2014-03-21 14:53:16', '2014-03-21 14:53:16')[0m
|
449
|
+
[1m[35m (0.4ms)[0m COMMIT
|
450
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
451
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.2ms)
|
452
|
+
|
453
|
+
|
454
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:16 -0400
|
455
|
+
Processing by Commenteux::NotesController#index as JS
|
456
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
457
|
+
[1m[36mDummyModel Load (0.5ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
458
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
459
|
+
[1m[35mComment Load (0.5ms)[0m SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC
|
460
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.6ms)
|
461
|
+
Completed 200 OK in 12ms (Views: 6.3ms | ActiveRecord: 1.0ms)
|
462
|
+
|
463
|
+
|
464
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:18 -0400
|
465
|
+
Processing by Commenteux::NotesController#new as HTML
|
466
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
467
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
468
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (4.0ms)
|
469
|
+
Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.3ms)
|
470
|
+
|
471
|
+
|
472
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:20 -0400
|
473
|
+
Processing by Commenteux::NotesController#create as JS
|
474
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"9"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
475
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
476
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
477
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('9', 1, 'DummyModel', '2014-03-21 14:53:20', '2014-03-21 14:53:20')
|
478
|
+
[1m[36m (1.7ms)[0m [1mCOMMIT[0m
|
479
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
480
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
|
481
|
+
|
482
|
+
|
483
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:20 -0400
|
484
|
+
Processing by Commenteux::NotesController#index as JS
|
485
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
486
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
487
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
488
|
+
[1m[36mComment Load (0.5ms)[0m [1mSELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = 1 AND `comments`.`commentable_type` = 'DummyModel' ORDER BY created_at ASC[0m
|
489
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.8ms)
|
490
|
+
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.8ms)
|
491
|
+
|
492
|
+
|
493
|
+
Started GET "/commenteux/dummy_model/1/new?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:22 -0400
|
494
|
+
Processing by Commenteux::NotesController#new as HTML
|
495
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
496
|
+
[1m[35mDummyModel Load (0.3ms)[0m SELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1
|
497
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/new.html.erb (3.0ms)
|
498
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
499
|
+
|
500
|
+
|
501
|
+
Started POST "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:26 -0400
|
502
|
+
Processing by Commenteux::NotesController#create as JS
|
503
|
+
Parameters: {"utf8"=>"✓", "comments"=>{"title"=>"", "comment"=>"10"}, "parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
504
|
+
[1m[36mDummyModel Load (0.3ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
505
|
+
[1m[35m (0.1ms)[0m BEGIN
|
506
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `comments` (`comment`, `commentable_id`, `commentable_type`, `created_at`, `updated_at`) VALUES ('10', 1, 'DummyModel', '2014-03-21 14:53:26', '2014-03-21 14:53:26')[0m
|
507
|
+
[1m[35m (1.7ms)[0m COMMIT
|
508
|
+
Redirected to http://0.0.0.0:3000/commenteux/dummy_model/1?parent_div=
|
509
|
+
Completed 302 Found in 5ms (ActiveRecord: 2.3ms)
|
510
|
+
|
511
|
+
|
512
|
+
Started GET "/commenteux/dummy_model/1?parent_div=" for 127.0.0.1 at 2014-03-21 10:53:26 -0400
|
513
|
+
Processing by Commenteux::NotesController#index as JS
|
514
|
+
Parameters: {"parent_div"=>"", "resource"=>"dummy_model", "resource_id"=>"1"}
|
515
|
+
[1m[36mDummyModel Load (0.4ms)[0m [1mSELECT `dummy_models`.* FROM `dummy_models` WHERE `dummy_models`.`id` = 1 LIMIT 1[0m
|
516
|
+
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from index at /Users/seurdge/projects/commenteux/app/controllers/commenteux/notes_controller.rb:14)
|
517
|
+
[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
|
518
|
+
Rendered /Users/seurdge/projects/commenteux/app/views/commenteux/notes/index.html.erb (1.3ms)
|
519
|
+
Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.8ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commenteux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Groupe Fungo inc.
|
@@ -131,11 +131,27 @@ files:
|
|
131
131
|
- spec/dummy/db/migrate/20140311235439_create_dummy_models.rb
|
132
132
|
- spec/dummy/db/migrate/20140312000846_create_comments.rb
|
133
133
|
- spec/dummy/db/schema.rb
|
134
|
+
- spec/dummy/log/development.log
|
134
135
|
- spec/dummy/log/test.log
|
135
136
|
- spec/dummy/public/404.html
|
136
137
|
- spec/dummy/public/422.html
|
137
138
|
- spec/dummy/public/500.html
|
138
139
|
- spec/dummy/public/favicon.ico
|
140
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/078e8a1b7bb61498dbae0070239e8f4c
|
141
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
142
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1957ff8c0d834428d5beca5bf51669b2
|
143
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1961e9a889917e26f9b92f7e3678b9d8
|
144
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
145
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
146
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/6e1da15bffb0094059fbe56ddb206c07
|
147
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/9fbd3d6762f09cbefd55f6775cf9bebe
|
148
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/af00b28760a09c0a6fd6fe584cbb839d
|
149
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
150
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/d72f8bdb1dcb7ea80d1869cb2c6ebbd3
|
151
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
152
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/db2a42fb4a2ea58dddbe086ea7cbd8c3
|
153
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/ec516d6bcfdc219883f1ddb03b5a635b
|
154
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
139
155
|
- spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
140
156
|
- spec/dummy/tmp/cache/assets/test/sprockets/1957ff8c0d834428d5beca5bf51669b2
|
141
157
|
- spec/dummy/tmp/cache/assets/test/sprockets/1961e9a889917e26f9b92f7e3678b9d8
|
@@ -208,6 +224,7 @@ test_files:
|
|
208
224
|
- spec/dummy/db/migrate/20140311235439_create_dummy_models.rb
|
209
225
|
- spec/dummy/db/migrate/20140312000846_create_comments.rb
|
210
226
|
- spec/dummy/db/schema.rb
|
227
|
+
- spec/dummy/log/development.log
|
211
228
|
- spec/dummy/log/test.log
|
212
229
|
- spec/dummy/public/404.html
|
213
230
|
- spec/dummy/public/422.html
|
@@ -215,6 +232,21 @@ test_files:
|
|
215
232
|
- spec/dummy/public/favicon.ico
|
216
233
|
- spec/dummy/Rakefile
|
217
234
|
- spec/dummy/README.rdoc
|
235
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/078e8a1b7bb61498dbae0070239e8f4c
|
236
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
237
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1957ff8c0d834428d5beca5bf51669b2
|
238
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1961e9a889917e26f9b92f7e3678b9d8
|
239
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
240
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
241
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/6e1da15bffb0094059fbe56ddb206c07
|
242
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/9fbd3d6762f09cbefd55f6775cf9bebe
|
243
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/af00b28760a09c0a6fd6fe584cbb839d
|
244
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
245
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/d72f8bdb1dcb7ea80d1869cb2c6ebbd3
|
246
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
247
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/db2a42fb4a2ea58dddbe086ea7cbd8c3
|
248
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/ec516d6bcfdc219883f1ddb03b5a635b
|
249
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
218
250
|
- spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
219
251
|
- spec/dummy/tmp/cache/assets/test/sprockets/1957ff8c0d834428d5beca5bf51669b2
|
220
252
|
- spec/dummy/tmp/cache/assets/test/sprockets/1961e9a889917e26f9b92f7e3678b9d8
|