simple_table_for 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3243bc0d3e912d28400a09a011fad988f555ea5
4
- data.tar.gz: d25e8b7fc1ff401b019bdce74eb56ffcdf76793f
3
+ metadata.gz: 60a5b1d6898d6efb9a727f6a4a4fc1c0b1ef80e1
4
+ data.tar.gz: e803e52c907e8ce9d3fd575d92fd497c9e8683a4
5
5
  SHA512:
6
- metadata.gz: caef0640187abfadd02068b9253c2549d02ca9e92671fb3e2cb460dfd3f5a5cd26adc054b4aaa57c84d71f6f89a2c2c85fe329a83a38ce5fda3de0564718930b
7
- data.tar.gz: c932e0cc79eb4c7859228a81c5516942f6b10882badec95f56b499f08d1414a64d86716e0d8f36a79b44429935f044e720213f916f2768f0ccd99a74c24a6e46
6
+ metadata.gz: 2a9718c2fe529bae191afb7352cde17329592a833c1f058eced55c1ca4fb1273ed3d7efe1fd6c5892da664848fd97d0a1f5948428a192865c5bdcc5526646c9c
7
+ data.tar.gz: 2294be28c4897afa9b0811de2e18fa4c937eed461cae36bddaee19d5edd375288023dc0bf9f90b7f3004633c6b118064d3a6fa440c6c9ec8dfe9a589c91649e6
@@ -1,3 +1,3 @@
1
1
  module SimpleTableFor
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -1,13 +1,12 @@
1
1
  module SimpleTableFor
2
2
  module Helpers
3
+ # Creates a table field
4
+ # See table for details
3
5
  def field(content, options = {})
4
- <<-TD.html_safe
5
- <td id='#{options[:id]}' class='#{options[:class]}'>
6
- #{content}
7
- </td>
8
- TD
6
+ content_tag :td, content, id: options[:id], class: options[:class]
9
7
  end
10
8
 
9
+ # Creates a table
11
10
  # Usage:
12
11
  # <%= table_for @posts, %w[Title Text Date Comments\ count -] do |post| %>
13
12
  # <%= field post.title %>
@@ -16,28 +15,26 @@ module SimpleTableFor
16
15
  # <%= field post.comments.count %>
17
16
  # <%= field link_to('View', post) %>
18
17
  # <% end %>
19
- def table_for(collection, heads, options = {})
20
- heads = heads.map{|h| "<th>#{h}</th>".html_safe }.join('')
21
-
22
- rows = collection.map do |obj|
23
- "<tr>#{capture{ yield obj }}</tr>".html_safe
24
- end.join('')
25
-
18
+ def table_for(collection, headers, options = {})
26
19
  options = Defaults.get.merge options
27
20
 
28
- <<-TABLE.html_safe
29
- <table id='#{options[:id]}' class='#{options[:class]}'>
30
- <thead>
31
- <tr>
32
- #{heads}
33
- </tr>
34
- </thead>
35
-
36
- <tbody>
37
- #{rows}
38
- </tbody>
39
- </table>
40
- TABLE
21
+ content_tag :table, id: options[:id], class: options[:class] do
22
+ concat (content_tag :thead do
23
+ content_tag :tr do
24
+ headers.map do |header|
25
+ concat(content_tag :th, header)
26
+ end
27
+ end
28
+ end)
29
+
30
+ concat (content_tag :tbody do
31
+ collection.map do |obj|
32
+ concat (content_tag :tr do
33
+ capture{ yield obj }
34
+ end)
35
+ end
36
+ end)
37
+ end
41
38
  end
42
39
  end
43
40
 
Binary file
Binary file
@@ -85,3 +85,996 @@ ActionController::RoutingError (No route matches [GET] "/posts"):
85
85
  Started GET "/posts/render" for 172.16.0.104 at 2015-03-30 10:57:44 -0300
86
86
  Processing by PostsController#render as HTML
87
87
  Completed 200 OK in 19ms (ActiveRecord: 0.0ms)
88
+
89
+
90
+ Started GET "/" for 172.16.0.104 at 2015-03-31 08:25:40 -0300
91
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
92
+ Processing by Rails::WelcomeController#index as HTML
93
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (6.7ms)
94
+ Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.0ms)
95
+
96
+
97
+ Started GET "/posts" for 172.16.0.104 at 2015-03-31 08:25:45 -0300
98
+ Processing by PostsController#index as HTML
99
+ Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.0ms)
100
+
101
+ ActionView::MissingTemplate (Missing template posts/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
102
+ * "/media/sf_shared/simple_table_for/test/dummy/app/views"
103
+ ):
104
+ app/controllers/posts_controller.rb:4:in `index'
105
+
106
+
107
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms)
108
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms)
109
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (22.8ms)
110
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (50.5ms)
111
+
112
+
113
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:25:56 -0300
114
+ Processing by PostsController#index as HTML
115
+ Parameters: {"template"=>"render"}
116
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
117
+ Rendered posts/render.html.erb within layouts/application (5.9ms)
118
+ Completed 200 OK in 356ms (Views: 352.6ms | ActiveRecord: 3.4ms)
119
+
120
+
121
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:27:50 -0300
122
+ Processing by PostsController#index as HTML
123
+ Parameters: {"template"=>"render"}
124
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
125
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
126
+ Completed 200 OK in 175ms (Views: 173.2ms | ActiveRecord: 1.6ms)
127
+
128
+
129
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 08:27:50 -0300
130
+
131
+
132
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 08:27:50 -0300
133
+
134
+
135
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 08:27:50 -0300
136
+
137
+
138
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 08:27:50 -0300
139
+
140
+
141
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:27:55 -0300
142
+ Processing by PostsController#index as HTML
143
+ Parameters: {"template"=>"render"}
144
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
145
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
146
+ Completed 200 OK in 162ms (Views: 159.6ms | ActiveRecord: 1.6ms)
147
+
148
+
149
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:28:20 -0300
150
+ Processing by PostsController#index as HTML
151
+ Parameters: {"template"=>"render"}
152
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
153
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
154
+ Completed 200 OK in 173ms (Views: 170.7ms | ActiveRecord: 1.5ms)
155
+
156
+
157
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:28:21 -0300
158
+ Processing by PostsController#index as HTML
159
+ Parameters: {"template"=>"render"}
160
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
161
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
162
+ Completed 200 OK in 182ms (Views: 179.9ms | ActiveRecord: 1.5ms)
163
+
164
+
165
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:30:45 -0300
166
+ Processing by PostsController#index as HTML
167
+ Parameters: {"template"=>"render"}
168
+ Post Load (1.4ms) SELECT "posts".* FROM "posts"
169
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
170
+ Completed 200 OK in 170ms (Views: 168.3ms | ActiveRecord: 1.4ms)
171
+
172
+
173
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:30:46 -0300
174
+ Processing by PostsController#index as HTML
175
+ Parameters: {"template"=>"render"}
176
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
177
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
178
+ Completed 200 OK in 170ms (Views: 168.4ms | ActiveRecord: 1.5ms)
179
+
180
+
181
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:32:02 -0300
182
+ Processing by PostsController#index as HTML
183
+ Parameters: {"template"=>"render"}
184
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
185
+ Rendered posts/render.html.erb within layouts/application (3.3ms)
186
+ Completed 200 OK in 190ms (Views: 188.6ms | ActiveRecord: 1.6ms)
187
+
188
+
189
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:32:09 -0300
190
+ Processing by PostsController#index as HTML
191
+ Parameters: {"template"=>"render"}
192
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
193
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
194
+ Completed 200 OK in 170ms (Views: 168.7ms | ActiveRecord: 1.5ms)
195
+
196
+
197
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:33:12 -0300
198
+ Processing by PostsController#index as HTML
199
+ Parameters: {"template"=>"render"}
200
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
201
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
202
+ Completed 200 OK in 169ms (Views: 167.7ms | ActiveRecord: 1.5ms)
203
+
204
+
205
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:34:14 -0300
206
+ Processing by PostsController#index as HTML
207
+ Parameters: {"template"=>"render"}
208
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
209
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
210
+ Completed 200 OK in 180ms (Views: 177.6ms | ActiveRecord: 1.7ms)
211
+
212
+
213
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:34:15 -0300
214
+ Processing by PostsController#index as HTML
215
+ Parameters: {"template"=>"render"}
216
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
217
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
218
+ Completed 200 OK in 165ms (Views: 163.1ms | ActiveRecord: 1.5ms)
219
+
220
+
221
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:35:16 -0300
222
+ Processing by PostsController#index as HTML
223
+ Parameters: {"template"=>"render"}
224
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
225
+ Rendered posts/render.html.erb within layouts/application (2.5ms)
226
+ Completed 200 OK in 170ms (Views: 167.8ms | ActiveRecord: 1.5ms)
227
+
228
+
229
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:35:17 -0300
230
+ Processing by PostsController#index as HTML
231
+ Parameters: {"template"=>"render"}
232
+ Post Load (1.2ms) SELECT "posts".* FROM "posts"
233
+ Rendered posts/render.html.erb within layouts/application (2.0ms)
234
+ Completed 200 OK in 163ms (Views: 161.8ms | ActiveRecord: 1.2ms)
235
+
236
+
237
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:35:59 -0300
238
+ Processing by PostsController#index as HTML
239
+ Parameters: {"template"=>"render"}
240
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
241
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
242
+ Completed 200 OK in 169ms (Views: 167.7ms | ActiveRecord: 1.5ms)
243
+
244
+
245
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:36:00 -0300
246
+ Processing by PostsController#index as HTML
247
+ Parameters: {"template"=>"render"}
248
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
249
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
250
+ Completed 200 OK in 170ms (Views: 168.6ms | ActiveRecord: 1.5ms)
251
+
252
+
253
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:39:04 -0300
254
+ Processing by PostsController#index as HTML
255
+ Parameters: {"template"=>"render"}
256
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
257
+ Rendered posts/render.html.erb within layouts/application (2.5ms)
258
+ Completed 200 OK in 173ms (Views: 171.2ms | ActiveRecord: 1.5ms)
259
+
260
+
261
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:39:06 -0300
262
+ Processing by PostsController#index as HTML
263
+ Parameters: {"template"=>"render"}
264
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
265
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
266
+ Completed 200 OK in 164ms (Views: 162.1ms | ActiveRecord: 1.6ms)
267
+
268
+
269
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:39:07 -0300
270
+ Processing by PostsController#index as HTML
271
+ Parameters: {"template"=>"render"}
272
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
273
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
274
+ Completed 200 OK in 176ms (Views: 174.1ms | ActiveRecord: 1.6ms)
275
+
276
+
277
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:39:07 -0300
278
+ Processing by PostsController#index as HTML
279
+ Parameters: {"template"=>"render"}
280
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
281
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
282
+ Completed 200 OK in 167ms (Views: 164.6ms | ActiveRecord: 1.7ms)
283
+
284
+
285
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:39:18 -0300
286
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
287
+ Processing by PostsController#index as HTML
288
+ Parameters: {"template"=>"render"}
289
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
290
+ Rendered posts/render.html.erb within layouts/application (11.4ms)
291
+ Completed 200 OK in 288ms (Views: 265.3ms | ActiveRecord: 3.0ms)
292
+
293
+
294
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:40:41 -0300
295
+ ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
296
+ Processing by PostsController#index as HTML
297
+ Parameters: {"template"=>"render"}
298
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
299
+ Rendered posts/render.html.erb within layouts/application (11.0ms)
300
+ Completed 200 OK in 294ms (Views: 272.7ms | ActiveRecord: 3.2ms)
301
+
302
+
303
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:41:58 -0300
304
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
+ Processing by PostsController#index as HTML
306
+ Parameters: {"template"=>"render"}
307
+ Post Load (2.0ms) SELECT "posts".* FROM "posts"
308
+ Rendered posts/render.html.erb within layouts/application (11.5ms)
309
+ Completed 200 OK in 286ms (Views: 264.0ms | ActiveRecord: 3.4ms)
310
+
311
+
312
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:42:05 -0300
313
+ Processing by PostsController#index as HTML
314
+ Parameters: {"template"=>"render"}
315
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
316
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
317
+ Completed 200 OK in 188ms (Views: 186.2ms | ActiveRecord: 1.6ms)
318
+
319
+
320
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 08:42:05 -0300
321
+
322
+
323
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 08:42:05 -0300
324
+
325
+
326
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 08:42:05 -0300
327
+
328
+
329
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 08:42:05 -0300
330
+
331
+
332
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:43:09 -0300
333
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
334
+ Processing by PostsController#index as HTML
335
+ Parameters: {"template"=>"render"}
336
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
337
+ Rendered posts/render.html.erb within layouts/application (38.7ms)
338
+ Completed 500 Internal Server Error in 126ms (ActiveRecord: 4.0ms)
339
+
340
+ ActionView::Template::Error (wrong number of arguments (2 for 1)):
341
+ 1: <%= table_for @posts, %w[Title Text Link], id: 'the-id', class: 'the-class' do |p| %>
342
+ 2: <%= field p.title, class: 'title' %>
343
+ 3: <%= field p.text, class: 'text' %>
344
+ 4: <%= field link_to('View', p), class: 'link' %>
345
+ app/views/posts/render.html.erb:1:in `_app_views_posts_render_html_erb___139257719__581915028'
346
+ app/controllers/posts_controller.rb:4:in `index'
347
+
348
+
349
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms)
350
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms)
351
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (28.7ms)
352
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.8ms)
353
+
354
+
355
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:43:15 -0300
356
+ Processing by PostsController#index as HTML
357
+ Parameters: {"template"=>"render"}
358
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
359
+ Rendered posts/render.html.erb within layouts/application (19.7ms)
360
+ Completed 500 Internal Server Error in 69ms (ActiveRecord: 1.7ms)
361
+
362
+ ActionView::Template::Error (wrong number of arguments (2 for 1)):
363
+ 1: <%= table_for @posts, %w[Title Text Link], id: 'the-id', class: 'the-class' do |p| %>
364
+ 2: <%= field p.title, class: 'title' %>
365
+ 3: <%= field p.text, class: 'text' %>
366
+ 4: <%= field link_to('View', p), class: 'link' %>
367
+ app/views/posts/render.html.erb:1:in `_app_views_posts_render_html_erb___139257719__581915028'
368
+ app/controllers/posts_controller.rb:4:in `index'
369
+
370
+
371
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms)
372
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
373
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
374
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.8ms)
375
+
376
+
377
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:44:25 -0300
378
+ ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
379
+ Processing by PostsController#index as HTML
380
+ Parameters: {"template"=>"render"}
381
+ Post Load (2.0ms) SELECT "posts".* FROM "posts"
382
+ Rendered posts/render.html.erb within layouts/application (53.7ms)
383
+ Completed 500 Internal Server Error in 162ms (ActiveRecord: 4.0ms)
384
+
385
+ ActionView::Template::Error (wrong number of arguments (2 for 1)):
386
+ 1: <%= table_for @posts, %w[Title Text Link], id: 'the-id', class: 'the-class' do |p| %>
387
+ 2: <%= field p.title, class: 'title' %>
388
+ 3: <%= field p.text, class: 'text' %>
389
+ 4: <%= field link_to('View', p), class: 'link' %>
390
+ app/views/posts/render.html.erb:1:in `_app_views_posts_render_html_erb__597712939__580511038'
391
+ app/controllers/posts_controller.rb:4:in `index'
392
+
393
+
394
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
395
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms)
396
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (27.1ms)
397
+ Rendered /home/ubuntu/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.4ms)
398
+
399
+
400
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:44:47 -0300
401
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
402
+ Processing by PostsController#index as HTML
403
+ Parameters: {"template"=>"render"}
404
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
405
+ Rendered posts/render.html.erb within layouts/application (11.0ms)
406
+ Completed 200 OK in 294ms (Views: 272.1ms | ActiveRecord: 3.2ms)
407
+
408
+
409
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 08:44:48 -0300
410
+
411
+
412
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 08:44:49 -0300
413
+
414
+
415
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 08:44:49 -0300
416
+
417
+
418
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 08:44:49 -0300
419
+
420
+
421
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:44:50 -0300
422
+ Processing by PostsController#index as HTML
423
+ Parameters: {"template"=>"render"}
424
+ Post Load (2.6ms) SELECT "posts".* FROM "posts"
425
+ Rendered posts/render.html.erb within layouts/application (4.9ms)
426
+ Completed 200 OK in 174ms (Views: 171.4ms | ActiveRecord: 2.6ms)
427
+
428
+
429
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:46:48 -0300
430
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
431
+ Processing by PostsController#index as HTML
432
+ Parameters: {"template"=>"render"}
433
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
434
+ Rendered posts/render.html.erb within layouts/application (10.6ms)
435
+ Completed 200 OK in 287ms (Views: 265.7ms | ActiveRecord: 3.0ms)
436
+
437
+
438
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:46:50 -0300
439
+ Processing by PostsController#index as HTML
440
+ Parameters: {"template"=>"render"}
441
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
442
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
443
+ Completed 200 OK in 199ms (Views: 196.9ms | ActiveRecord: 1.7ms)
444
+
445
+
446
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:50:58 -0300
447
+ ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
448
+ Processing by PostsController#index as HTML
449
+ Parameters: {"template"=>"render"}
450
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
451
+ Rendered posts/render.html.erb within layouts/application (11.6ms)
452
+ Completed 200 OK in 318ms (Views: 295.4ms | ActiveRecord: 3.2ms)
453
+
454
+
455
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:51:00 -0300
456
+ Processing by PostsController#index as HTML
457
+ Parameters: {"template"=>"render"}
458
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
459
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
460
+ Completed 200 OK in 172ms (Views: 170.2ms | ActiveRecord: 1.6ms)
461
+
462
+
463
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:51:00 -0300
464
+ Processing by PostsController#index as HTML
465
+ Parameters: {"template"=>"render"}
466
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
467
+ Rendered posts/render.html.erb within layouts/application (4.1ms)
468
+ Completed 200 OK in 171ms (Views: 168.4ms | ActiveRecord: 1.9ms)
469
+
470
+
471
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:51:01 -0300
472
+ Processing by PostsController#index as HTML
473
+ Parameters: {"template"=>"render"}
474
+ Post Load (1.2ms) SELECT "posts".* FROM "posts"
475
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
476
+ Completed 200 OK in 165ms (Views: 163.0ms | ActiveRecord: 1.2ms)
477
+
478
+
479
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:51:01 -0300
480
+ Processing by PostsController#index as HTML
481
+ Parameters: {"template"=>"render"}
482
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
483
+ Rendered posts/render.html.erb within layouts/application (3.2ms)
484
+ Completed 200 OK in 169ms (Views: 166.3ms | ActiveRecord: 1.9ms)
485
+
486
+
487
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:51:02 -0300
488
+ Processing by PostsController#index as HTML
489
+ Parameters: {"template"=>"render"}
490
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
491
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
492
+ Completed 200 OK in 164ms (Views: 162.2ms | ActiveRecord: 1.5ms)
493
+
494
+
495
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:51:02 -0300
496
+ Processing by PostsController#index as HTML
497
+ Parameters: {"template"=>"render"}
498
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
499
+ Rendered posts/render.html.erb within layouts/application (3.1ms)
500
+ Completed 200 OK in 165ms (Views: 162.6ms | ActiveRecord: 1.8ms)
501
+
502
+
503
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:52:48 -0300
504
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
505
+ Processing by PostsController#index as HTML
506
+ Parameters: {"template"=>"render"}
507
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
508
+ Rendered posts/render.html.erb within layouts/application (10.5ms)
509
+ Completed 200 OK in 284ms (Views: 262.6ms | ActiveRecord: 3.0ms)
510
+
511
+
512
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:52:50 -0300
513
+ Processing by PostsController#index as HTML
514
+ Parameters: {"template"=>"render"}
515
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
516
+ Rendered posts/render.html.erb within layouts/application (3.8ms)
517
+ Completed 200 OK in 172ms (Views: 169.5ms | ActiveRecord: 1.9ms)
518
+
519
+
520
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:52:50 -0300
521
+ Processing by PostsController#index as HTML
522
+ Parameters: {"template"=>"render"}
523
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
524
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
525
+ Completed 200 OK in 177ms (Views: 174.9ms | ActiveRecord: 1.6ms)
526
+
527
+
528
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:52:51 -0300
529
+ Processing by PostsController#index as HTML
530
+ Parameters: {"template"=>"render"}
531
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
532
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
533
+ Completed 200 OK in 172ms (Views: 170.3ms | ActiveRecord: 1.6ms)
534
+
535
+
536
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:54:31 -0300
537
+ ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
538
+ Processing by PostsController#index as HTML
539
+ Parameters: {"template"=>"render"}
540
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
541
+ Rendered posts/render.html.erb within layouts/application (11.4ms)
542
+ Completed 200 OK in 294ms (Views: 272.4ms | ActiveRecord: 3.3ms)
543
+
544
+
545
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:54:33 -0300
546
+ Processing by PostsController#index as HTML
547
+ Parameters: {"template"=>"render"}
548
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
549
+ Rendered posts/render.html.erb within layouts/application (3.1ms)
550
+ Completed 200 OK in 171ms (Views: 169.2ms | ActiveRecord: 1.9ms)
551
+
552
+
553
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:54:33 -0300
554
+ Processing by PostsController#index as HTML
555
+ Parameters: {"template"=>"render"}
556
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
557
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
558
+ Completed 200 OK in 176ms (Views: 173.7ms | ActiveRecord: 1.6ms)
559
+
560
+
561
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:54:34 -0300
562
+ Processing by PostsController#index as HTML
563
+ Parameters: {"template"=>"render"}
564
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
565
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
566
+ Completed 200 OK in 171ms (Views: 169.5ms | ActiveRecord: 1.5ms)
567
+
568
+
569
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:54:35 -0300
570
+ Processing by PostsController#index as HTML
571
+ Parameters: {"template"=>"render"}
572
+ Post Load (1.4ms) SELECT "posts".* FROM "posts"
573
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
574
+ Completed 200 OK in 168ms (Views: 166.3ms | ActiveRecord: 1.4ms)
575
+
576
+
577
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 08:54:35 -0300
578
+
579
+
580
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 08:54:35 -0300
581
+
582
+
583
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 08:54:35 -0300
584
+
585
+
586
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 08:54:35 -0300
587
+
588
+
589
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:54:37 -0300
590
+ Processing by PostsController#index as HTML
591
+ Parameters: {"template"=>"render"}
592
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
593
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
594
+ Completed 200 OK in 171ms (Views: 169.1ms | ActiveRecord: 1.5ms)
595
+
596
+
597
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:34 -0300
598
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
599
+ Processing by PostsController#index as HTML
600
+ Parameters: {"template"=>"render"}
601
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
602
+ Rendered posts/render.html.erb within layouts/application (11.0ms)
603
+ Completed 200 OK in 289ms (Views: 266.3ms | ActiveRecord: 3.1ms)
604
+
605
+
606
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:36 -0300
607
+ Processing by PostsController#index as HTML
608
+ Parameters: {"template"=>"render"}
609
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
610
+ Rendered posts/render.html.erb within layouts/application (3.1ms)
611
+ Completed 200 OK in 176ms (Views: 173.5ms | ActiveRecord: 1.7ms)
612
+
613
+
614
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:36 -0300
615
+ Processing by PostsController#index as HTML
616
+ Parameters: {"template"=>"render"}
617
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
618
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
619
+ Completed 200 OK in 181ms (Views: 178.8ms | ActiveRecord: 1.5ms)
620
+
621
+
622
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:36 -0300
623
+ Processing by PostsController#index as HTML
624
+ Parameters: {"template"=>"render"}
625
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
626
+ Rendered posts/render.html.erb within layouts/application (3.4ms)
627
+ Completed 200 OK in 186ms (Views: 184.3ms | ActiveRecord: 1.7ms)
628
+
629
+
630
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:37 -0300
631
+ Processing by PostsController#index as HTML
632
+ Parameters: {"template"=>"render"}
633
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
634
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
635
+ Completed 200 OK in 167ms (Views: 165.1ms | ActiveRecord: 1.6ms)
636
+
637
+
638
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:37 -0300
639
+ Processing by PostsController#index as HTML
640
+ Parameters: {"template"=>"render"}
641
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
642
+ Rendered posts/render.html.erb within layouts/application (4.1ms)
643
+ Completed 200 OK in 171ms (Views: 168.8ms | ActiveRecord: 1.9ms)
644
+
645
+
646
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:37 -0300
647
+ Processing by PostsController#index as HTML
648
+ Parameters: {"template"=>"render"}
649
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
650
+ Rendered posts/render.html.erb within layouts/application (2.7ms)
651
+ Completed 200 OK in 170ms (Views: 167.8ms | ActiveRecord: 1.5ms)
652
+
653
+
654
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:55:38 -0300
655
+ Processing by PostsController#index as HTML
656
+ Parameters: {"template"=>"render"}
657
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
658
+ Rendered posts/render.html.erb within layouts/application (3.3ms)
659
+ Completed 200 OK in 168ms (Views: 166.2ms | ActiveRecord: 1.9ms)
660
+
661
+
662
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:55 -0300
663
+ ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
664
+ Processing by PostsController#index as HTML
665
+ Parameters: {"template"=>"render"}
666
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
667
+ Rendered posts/render.html.erb within layouts/application (11.2ms)
668
+ Completed 200 OK in 285ms (Views: 263.2ms | ActiveRecord: 3.2ms)
669
+
670
+
671
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:57 -0300
672
+ Processing by PostsController#index as HTML
673
+ Parameters: {"template"=>"render"}
674
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
675
+ Rendered posts/render.html.erb within layouts/application (2.9ms)
676
+ Completed 200 OK in 168ms (Views: 165.7ms | ActiveRecord: 1.5ms)
677
+
678
+
679
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:57 -0300
680
+ Processing by PostsController#index as HTML
681
+ Parameters: {"template"=>"render"}
682
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
683
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
684
+ Completed 200 OK in 176ms (Views: 173.5ms | ActiveRecord: 1.6ms)
685
+
686
+
687
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:57 -0300
688
+ Processing by PostsController#index as HTML
689
+ Parameters: {"template"=>"render"}
690
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
691
+ Rendered posts/render.html.erb within layouts/application (2.6ms)
692
+ Completed 200 OK in 164ms (Views: 161.9ms | ActiveRecord: 1.5ms)
693
+
694
+
695
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:58 -0300
696
+ Processing by PostsController#index as HTML
697
+ Parameters: {"template"=>"render"}
698
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
699
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
700
+ Completed 200 OK in 171ms (Views: 169.5ms | ActiveRecord: 1.7ms)
701
+
702
+
703
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:58 -0300
704
+ Processing by PostsController#index as HTML
705
+ Parameters: {"template"=>"render"}
706
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
707
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
708
+ Completed 200 OK in 173ms (Views: 171.2ms | ActiveRecord: 1.6ms)
709
+
710
+
711
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 08:58:58 -0300
712
+ Processing by PostsController#index as HTML
713
+ Parameters: {"template"=>"render"}
714
+ Post Load (2.7ms) SELECT "posts".* FROM "posts"
715
+ Rendered posts/render.html.erb within layouts/application (4.6ms)
716
+ Completed 200 OK in 171ms (Views: 167.9ms | ActiveRecord: 2.7ms)
717
+
718
+
719
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:00:56 -0300
720
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
721
+ Processing by PostsController#index as HTML
722
+ Parameters: {"template"=>"render"}
723
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
724
+ Rendered posts/render.html.erb within layouts/application (11.7ms)
725
+ Completed 200 OK in 291ms (Views: 262.5ms | ActiveRecord: 3.3ms)
726
+
727
+
728
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:00:58 -0300
729
+ Processing by PostsController#index as HTML
730
+ Parameters: {"template"=>"render"}
731
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
732
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
733
+ Completed 200 OK in 164ms (Views: 162.1ms | ActiveRecord: 1.5ms)
734
+
735
+
736
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:00:58 -0300
737
+ Processing by PostsController#index as HTML
738
+ Parameters: {"template"=>"render"}
739
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
740
+ Rendered posts/render.html.erb within layouts/application (2.9ms)
741
+ Completed 200 OK in 171ms (Views: 168.7ms | ActiveRecord: 1.7ms)
742
+
743
+
744
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:01:37 -0300
745
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
746
+ Processing by PostsController#index as HTML
747
+ Parameters: {"template"=>"render"}
748
+ Post Load (2.1ms) SELECT "posts".* FROM "posts"
749
+ Rendered posts/render.html.erb within layouts/application (12.9ms)
750
+ Completed 200 OK in 283ms (Views: 260.6ms | ActiveRecord: 4.1ms)
751
+
752
+
753
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:01:39 -0300
754
+ Processing by PostsController#index as HTML
755
+ Parameters: {"template"=>"render"}
756
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
757
+ Rendered posts/render.html.erb within layouts/application (2.9ms)
758
+ Completed 200 OK in 173ms (Views: 171.1ms | ActiveRecord: 1.5ms)
759
+
760
+
761
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:02:47 -0300
762
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
763
+ Processing by PostsController#index as HTML
764
+ Parameters: {"template"=>"render"}
765
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
766
+ Rendered posts/render.html.erb within layouts/application (10.9ms)
767
+ Completed 200 OK in 292ms (Views: 270.0ms | ActiveRecord: 3.1ms)
768
+
769
+
770
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:02:49 -0300
771
+ Processing by PostsController#index as HTML
772
+ Parameters: {"template"=>"render"}
773
+ Post Load (2.2ms) SELECT "posts".* FROM "posts"
774
+ Rendered posts/render.html.erb within layouts/application (4.3ms)
775
+ Completed 200 OK in 192ms (Views: 188.8ms | ActiveRecord: 2.2ms)
776
+
777
+
778
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:02:50 -0300
779
+ Processing by PostsController#index as HTML
780
+ Parameters: {"template"=>"render"}
781
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
782
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
783
+ Completed 200 OK in 178ms (Views: 175.7ms | ActiveRecord: 1.8ms)
784
+
785
+
786
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:02:50 -0300
787
+ Processing by PostsController#index as HTML
788
+ Parameters: {"template"=>"render"}
789
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
790
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
791
+ Completed 200 OK in 171ms (Views: 169.6ms | ActiveRecord: 1.5ms)
792
+
793
+
794
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:02:51 -0300
795
+ Processing by PostsController#index as HTML
796
+ Parameters: {"template"=>"render"}
797
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
798
+ Rendered posts/render.html.erb within layouts/application (2.8ms)
799
+ Completed 200 OK in 168ms (Views: 166.0ms | ActiveRecord: 1.6ms)
800
+
801
+
802
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:39 -0300
803
+ ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
804
+ Processing by PostsController#index as HTML
805
+ Parameters: {"template"=>"render"}
806
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
807
+ Rendered posts/render.html.erb within layouts/application (11.0ms)
808
+ Completed 200 OK in 287ms (Views: 265.5ms | ActiveRecord: 2.9ms)
809
+
810
+
811
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:41 -0300
812
+ Processing by PostsController#index as HTML
813
+ Parameters: {"template"=>"render"}
814
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
815
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
816
+ Completed 200 OK in 174ms (Views: 171.6ms | ActiveRecord: 1.6ms)
817
+
818
+
819
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:42 -0300
820
+ Processing by PostsController#index as HTML
821
+ Parameters: {"template"=>"render"}
822
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
823
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
824
+ Completed 200 OK in 192ms (Views: 190.0ms | ActiveRecord: 1.6ms)
825
+
826
+
827
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:42 -0300
828
+ Processing by PostsController#index as HTML
829
+ Parameters: {"template"=>"render"}
830
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
831
+ Rendered posts/render.html.erb within layouts/application (2.9ms)
832
+ Completed 200 OK in 172ms (Views: 169.8ms | ActiveRecord: 1.6ms)
833
+
834
+
835
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
836
+
837
+
838
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
839
+
840
+
841
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
842
+
843
+
844
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
845
+
846
+
847
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
848
+ Processing by PostsController#index as HTML
849
+ Parameters: {"template"=>"render"}
850
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
851
+ Rendered posts/render.html.erb within layouts/application (2.9ms)
852
+ Completed 200 OK in 170ms (Views: 167.9ms | ActiveRecord: 1.6ms)
853
+
854
+
855
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
856
+
857
+
858
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
859
+
860
+
861
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
862
+
863
+
864
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:43 -0300
865
+
866
+
867
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:44 -0300
868
+ Processing by PostsController#index as HTML
869
+ Parameters: {"template"=>"render"}
870
+ Post Load (2.0ms) SELECT "posts".* FROM "posts"
871
+ Rendered posts/render.html.erb within layouts/application (4.3ms)
872
+ Completed 200 OK in 175ms (Views: 172.5ms | ActiveRecord: 2.0ms)
873
+
874
+
875
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:44 -0300
876
+
877
+
878
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:44 -0300
879
+
880
+
881
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:44 -0300
882
+
883
+
884
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:44 -0300
885
+
886
+
887
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:45 -0300
888
+ Processing by PostsController#index as HTML
889
+ Parameters: {"template"=>"render"}
890
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
891
+ Rendered posts/render.html.erb within layouts/application (3.0ms)
892
+ Completed 200 OK in 164ms (Views: 161.9ms | ActiveRecord: 1.7ms)
893
+
894
+
895
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:45 -0300
896
+
897
+
898
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:45 -0300
899
+
900
+
901
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:03:45 -0300
902
+
903
+
904
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:03:45 -0300
905
+
906
+
907
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:03:47 -0300
908
+ Processing by PostsController#index as HTML
909
+ Parameters: {"template"=>"render"}
910
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
911
+ Rendered posts/render.html.erb within layouts/application (2.9ms)
912
+ Completed 200 OK in 169ms (Views: 166.8ms | ActiveRecord: 1.7ms)
913
+  (0.1ms) begin transaction
914
+ SQL (4.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.662936"], ["updated_at", "2015-03-31 12:04:32.662936"]]
915
+  (3.1ms) commit transaction
916
+  (0.1ms) begin transaction
917
+ SQL (3.9ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.679631"], ["updated_at", "2015-03-31 12:04:32.679631"]]
918
+  (3.1ms) commit transaction
919
+  (0.1ms) begin transaction
920
+ SQL (3.8ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.689403"], ["updated_at", "2015-03-31 12:04:32.689403"]]
921
+  (2.8ms) commit transaction
922
+  (0.3ms) begin transaction
923
+ SQL (3.7ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.698728"], ["updated_at", "2015-03-31 12:04:32.698728"]]
924
+  (3.0ms) commit transaction
925
+  (0.1ms) begin transaction
926
+ SQL (3.8ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.707812"], ["updated_at", "2015-03-31 12:04:32.707812"]]
927
+  (2.9ms) commit transaction
928
+  (0.0ms) begin transaction
929
+ SQL (3.5ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.716955"], ["updated_at", "2015-03-31 12:04:32.716955"]]
930
+  (2.9ms) commit transaction
931
+  (0.1ms) begin transaction
932
+ SQL (3.8ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.725488"], ["updated_at", "2015-03-31 12:04:32.725488"]]
933
+  (2.9ms) commit transaction
934
+  (0.0ms) begin transaction
935
+ SQL (3.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.734636"], ["updated_at", "2015-03-31 12:04:32.734636"]]
936
+  (3.1ms) commit transaction
937
+  (0.1ms) begin transaction
938
+ SQL (3.8ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.743895"], ["updated_at", "2015-03-31 12:04:32.743895"]]
939
+  (2.8ms) commit transaction
940
+  (0.1ms) begin transaction
941
+ SQL (3.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "title"], ["text", "text"], ["created_at", "2015-03-31 12:04:32.753079"], ["updated_at", "2015-03-31 12:04:32.753079"]]
942
+  (3.0ms) commit transaction
943
+
944
+
945
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:04:41 -0300
946
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
947
+ Processing by PostsController#index as HTML
948
+ Parameters: {"template"=>"render"}
949
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
950
+ Rendered posts/render.html.erb within layouts/application (20.9ms)
951
+ Completed 200 OK in 298ms (Views: 272.7ms | ActiveRecord: 6.2ms)
952
+
953
+
954
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:04:44 -0300
955
+ Processing by PostsController#index as HTML
956
+ Parameters: {"template"=>"render"}
957
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
958
+ Rendered posts/render.html.erb within layouts/application (7.6ms)
959
+ Completed 200 OK in 191ms (Views: 189.4ms | ActiveRecord: 1.8ms)
960
+
961
+
962
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:04:44 -0300
963
+
964
+
965
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:04:44 -0300
966
+
967
+
968
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:04:44 -0300
969
+
970
+
971
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:04:44 -0300
972
+
973
+
974
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:05:00 -0300
975
+ Processing by PostsController#index as HTML
976
+ Parameters: {"template"=>"render"}
977
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
978
+ Rendered posts/render.html.erb within layouts/application (5.6ms)
979
+ Completed 200 OK in 174ms (Views: 171.8ms | ActiveRecord: 1.9ms)
980
+
981
+
982
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:05:00 -0300
983
+
984
+
985
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:05:00 -0300
986
+
987
+
988
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:05:00 -0300
989
+
990
+
991
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:05:00 -0300
992
+
993
+
994
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:05:01 -0300
995
+ Processing by PostsController#index as HTML
996
+ Parameters: {"template"=>"render"}
997
+ Post Load (2.2ms) SELECT "posts".* FROM "posts"
998
+ Rendered posts/render.html.erb within layouts/application (6.8ms)
999
+ Completed 200 OK in 216ms (Views: 213.7ms | ActiveRecord: 2.2ms)
1000
+
1001
+
1002
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:05:10 -0300
1003
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1004
+ Processing by PostsController#index as HTML
1005
+ Parameters: {"template"=>"render"}
1006
+ Post Load (2.7ms) SELECT "posts".* FROM "posts"
1007
+ Rendered posts/render.html.erb within layouts/application (29.6ms)
1008
+ Completed 200 OK in 305ms (Views: 277.3ms | ActiveRecord: 9.3ms)
1009
+
1010
+
1011
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:06:39 -0300
1012
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1013
+ Processing by PostsController#index as HTML
1014
+ Parameters: {"template"=>"render"}
1015
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
1016
+ Rendered posts/render.html.erb within layouts/application (21.0ms)
1017
+ Completed 200 OK in 300ms (Views: 271.9ms | ActiveRecord: 6.3ms)
1018
+
1019
+
1020
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:07:12 -0300
1021
+ ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
1022
+ Processing by PostsController#index as HTML
1023
+ Parameters: {"template"=>"render"}
1024
+ Post Load (2.8ms) SELECT "posts".* FROM "posts"
1025
+ Rendered posts/render.html.erb within layouts/application (30.4ms)
1026
+ Completed 200 OK in 301ms (Views: 273.2ms | ActiveRecord: 9.2ms)
1027
+
1028
+
1029
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:07:53 -0300
1030
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1031
+ Processing by PostsController#index as HTML
1032
+ Parameters: {"template"=>"render"}
1033
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
1034
+ Rendered posts/render.html.erb within layouts/application (20.4ms)
1035
+ Completed 200 OK in 341ms (Views: 315.4ms | ActiveRecord: 6.5ms)
1036
+
1037
+
1038
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:08:11 -0300
1039
+ Processing by PostsController#index as HTML
1040
+ Parameters: {"template"=>"render"}
1041
+ Post Load (1.3ms) SELECT "posts".* FROM "posts"
1042
+ Rendered posts/render.html.erb within layouts/application (6.6ms)
1043
+ Completed 200 OK in 187ms (Views: 185.0ms | ActiveRecord: 1.3ms)
1044
+
1045
+
1046
+ Started GET "/assets/posts-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for 172.16.0.104 at 2015-03-31 09:08:11 -0300
1047
+
1048
+
1049
+ Started GET "/assets/application-5443590960d4ffbddd98865912808a33.js?body=1" for 172.16.0.104 at 2015-03-31 09:08:11 -0300
1050
+
1051
+
1052
+ Started GET "/assets/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for 172.16.0.104 at 2015-03-31 09:08:11 -0300
1053
+
1054
+
1055
+ Started GET "/assets/posts-46c9a194bd0668e67d57241f94473dc8.js?body=1" for 172.16.0.104 at 2015-03-31 09:08:11 -0300
1056
+
1057
+
1058
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:09:10 -0300
1059
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1060
+ Processing by PostsController#index as HTML
1061
+ Parameters: {"template"=>"render"}
1062
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
1063
+ Rendered posts/render.html.erb within layouts/application (25.9ms)
1064
+ Completed 200 OK in 296ms (Views: 270.8ms | ActiveRecord: 7.0ms)
1065
+
1066
+
1067
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:09:12 -0300
1068
+ Processing by PostsController#index as HTML
1069
+ Parameters: {"template"=>"render"}
1070
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
1071
+ Rendered posts/render.html.erb within layouts/application (6.2ms)
1072
+ Completed 200 OK in 204ms (Views: 201.6ms | ActiveRecord: 1.9ms)
1073
+
1074
+
1075
+ Started GET "/posts?template=render" for 172.16.0.104 at 2015-03-31 09:09:13 -0300
1076
+ Processing by PostsController#index as HTML
1077
+ Parameters: {"template"=>"render"}
1078
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
1079
+ Rendered posts/render.html.erb within layouts/application (9.0ms)
1080
+ Completed 200 OK in 177ms (Views: 174.9ms | ActiveRecord: 1.9ms)
@@ -503,3 +503,159 @@ Processing by PostsController#index as HTML
503
503
  Rendered posts/defaults.html.erb within layouts/application (3.1ms)
504
504
  Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 1.5ms)
505
505
   (0.1ms) rollback transaction
506
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
507
+  (0.1ms) begin transaction
508
+ Fixture Delete (2.3ms) DELETE FROM "posts"
509
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:18:24', '2015-03-31 11:18:24', 980190962)
510
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:18:24', '2015-03-31 11:18:24', 298486374)
511
+  (4.0ms) commit transaction
512
+  (0.4ms) begin transaction
513
+ ---------------------------------------------
514
+ PostsControllerTest: test_should_render_table
515
+ ---------------------------------------------
516
+ Processing by PostsController#index as HTML
517
+ Parameters: {"template"=>"render"}
518
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
519
+ Rendered posts/render.html.erb within layouts/application (13.1ms)
520
+ Completed 200 OK in 129ms (Views: 126.7ms | ActiveRecord: 1.5ms)
521
+  (0.1ms) rollback transaction
522
+  (0.1ms) begin transaction
523
+ -----------------------------------------------------------
524
+ PostsControllerTest: test_should_render_table_with_defaults
525
+ -----------------------------------------------------------
526
+ Processing by PostsController#index as HTML
527
+ Parameters: {"template"=>"defaults"}
528
+ Post Load (1.3ms) SELECT "posts".* FROM "posts"
529
+ Rendered posts/defaults.html.erb within layouts/application (3.2ms)
530
+ Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 1.3ms)
531
+  (0.1ms) rollback transaction
532
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
533
+  (0.1ms) begin transaction
534
+ Fixture Delete (2.7ms) DELETE FROM "posts"
535
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:19:50', '2015-03-31 11:19:50', 980190962)
536
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:19:50', '2015-03-31 11:19:50', 298486374)
537
+  (3.0ms) commit transaction
538
+  (0.1ms) begin transaction
539
+ -----------------------------------------------------------
540
+ PostsControllerTest: test_should_render_table_with_defaults
541
+ -----------------------------------------------------------
542
+ Processing by PostsController#index as HTML
543
+ Parameters: {"template"=>"defaults"}
544
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
545
+ Rendered posts/defaults.html.erb within layouts/application (13.2ms)
546
+ Completed 200 OK in 121ms (Views: 118.9ms | ActiveRecord: 1.5ms)
547
+  (0.1ms) rollback transaction
548
+  (0.2ms) begin transaction
549
+ ---------------------------------------------
550
+ PostsControllerTest: test_should_render_table
551
+ ---------------------------------------------
552
+ Processing by PostsController#index as HTML
553
+ Parameters: {"template"=>"render"}
554
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
555
+ Rendered posts/render.html.erb within layouts/application (3.7ms)
556
+ Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 1.6ms)
557
+  (0.1ms) rollback transaction
558
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
559
+  (0.1ms) begin transaction
560
+ Fixture Delete (3.3ms) DELETE FROM "posts"
561
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:22:39', '2015-03-31 11:22:39', 980190962)
562
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:22:39', '2015-03-31 11:22:39', 298486374)
563
+  (3.0ms) commit transaction
564
+  (0.1ms) begin transaction
565
+ ---------------------------------------------
566
+ PostsControllerTest: test_should_render_table
567
+ ---------------------------------------------
568
+ Processing by PostsController#index as HTML
569
+ Parameters: {"template"=>"render"}
570
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
571
+ Rendered posts/render.html.erb within layouts/application (45.7ms)
572
+ Completed 500 Internal Server Error in 113ms (ActiveRecord: 1.5ms)
573
+  (0.1ms) rollback transaction
574
+  (0.1ms) begin transaction
575
+ -----------------------------------------------------------
576
+ PostsControllerTest: test_should_render_table_with_defaults
577
+ -----------------------------------------------------------
578
+ Processing by PostsController#index as HTML
579
+ Parameters: {"template"=>"defaults"}
580
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
581
+ Rendered posts/defaults.html.erb within layouts/application (37.5ms)
582
+ Completed 500 Internal Server Error in 55ms (ActiveRecord: 1.6ms)
583
+  (0.1ms) rollback transaction
584
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
585
+  (0.1ms) begin transaction
586
+ Fixture Delete (2.5ms) DELETE FROM "posts"
587
+ Fixture Insert (1.2ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:23:09', '2015-03-31 11:23:09', 980190962)
588
+ Fixture Insert (0.2ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:23:09', '2015-03-31 11:23:09', 298486374)
589
+  (3.4ms) commit transaction
590
+  (0.1ms) begin transaction
591
+ ---------------------------------------------
592
+ PostsControllerTest: test_should_render_table
593
+ ---------------------------------------------
594
+ Processing by PostsController#index as HTML
595
+ Parameters: {"template"=>"render"}
596
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
597
+ Rendered posts/render.html.erb within layouts/application (13.1ms)
598
+ Completed 200 OK in 123ms (Views: 120.8ms | ActiveRecord: 1.6ms)
599
+  (0.2ms) rollback transaction
600
+  (0.2ms) begin transaction
601
+ -----------------------------------------------------------
602
+ PostsControllerTest: test_should_render_table_with_defaults
603
+ -----------------------------------------------------------
604
+ Processing by PostsController#index as HTML
605
+ Parameters: {"template"=>"defaults"}
606
+ Post Load (1.7ms) SELECT "posts".* FROM "posts"
607
+ Rendered posts/defaults.html.erb within layouts/application (3.5ms)
608
+ Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 1.7ms)
609
+  (0.1ms) rollback transaction
610
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
611
+  (0.1ms) begin transaction
612
+ Fixture Delete (2.6ms) DELETE FROM "posts"
613
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:24:22', '2015-03-31 11:24:22', 980190962)
614
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 11:24:22', '2015-03-31 11:24:22', 298486374)
615
+  (3.2ms) commit transaction
616
+  (0.1ms) begin transaction
617
+ ---------------------------------------------
618
+ PostsControllerTest: test_should_render_table
619
+ ---------------------------------------------
620
+ Processing by PostsController#index as HTML
621
+ Parameters: {"template"=>"render"}
622
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
623
+ Rendered posts/render.html.erb within layouts/application (12.8ms)
624
+ Completed 200 OK in 121ms (Views: 119.3ms | ActiveRecord: 1.5ms)
625
+  (0.1ms) rollback transaction
626
+  (0.1ms) begin transaction
627
+ -----------------------------------------------------------
628
+ PostsControllerTest: test_should_render_table_with_defaults
629
+ -----------------------------------------------------------
630
+ Processing by PostsController#index as HTML
631
+ Parameters: {"template"=>"defaults"}
632
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
633
+ Rendered posts/defaults.html.erb within layouts/application (3.5ms)
634
+ Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 1.6ms)
635
+  (0.1ms) rollback transaction
636
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
637
+  (0.1ms) begin transaction
638
+ Fixture Delete (2.2ms) DELETE FROM "posts"
639
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 12:11:57', '2015-03-31 12:11:57', 980190962)
640
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-03-31 12:11:57', '2015-03-31 12:11:57', 298486374)
641
+  (4.2ms) commit transaction
642
+  (0.5ms) begin transaction
643
+ ---------------------------------------------
644
+ PostsControllerTest: test_should_render_table
645
+ ---------------------------------------------
646
+ Processing by PostsController#index as HTML
647
+ Parameters: {"template"=>"render"}
648
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
649
+ Rendered posts/render.html.erb within layouts/application (13.0ms)
650
+ Completed 200 OK in 126ms (Views: 124.5ms | ActiveRecord: 1.5ms)
651
+  (0.1ms) rollback transaction
652
+  (0.1ms) begin transaction
653
+ -----------------------------------------------------------
654
+ PostsControllerTest: test_should_render_table_with_defaults
655
+ -----------------------------------------------------------
656
+ Processing by PostsController#index as HTML
657
+ Parameters: {"template"=>"defaults"}
658
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
659
+ Rendered posts/defaults.html.erb within layouts/application (3.4ms)
660
+ Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 1.6ms)
661
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_table_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Nering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3