auto_presenter 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +51 -0
  4. data/Rakefile +29 -0
  5. data/lib/auto_presenter.rb +49 -0
  6. data/lib/auto_presenter/relation_presenter.rb +31 -0
  7. data/lib/auto_presenter/version.rb +3 -0
  8. data/test/dummy/README.rdoc +28 -0
  9. data/test/dummy/Rakefile +6 -0
  10. data/test/dummy/app/assets/javascripts/application.js +13 -0
  11. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  12. data/test/dummy/app/controllers/application_controller.rb +3 -0
  13. data/test/dummy/app/controllers/projects_controller.rb +64 -0
  14. data/test/dummy/app/controllers/tasks_controller.rb +43 -0
  15. data/test/dummy/app/helpers/application_helper.rb +2 -0
  16. data/test/dummy/app/helpers/projects_helper.rb +2 -0
  17. data/test/dummy/app/helpers/tasks_helper.rb +2 -0
  18. data/test/dummy/app/models/project.rb +3 -0
  19. data/test/dummy/app/models/task.rb +10 -0
  20. data/test/dummy/app/presenters/project_presenter.rb +2 -0
  21. data/test/dummy/app/presenters/projects/completed_tasks_presenter.rb +2 -0
  22. data/test/dummy/app/presenters/projects/projects_presenter.rb +2 -0
  23. data/test/dummy/app/presenters/task_presenter.rb +6 -0
  24. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  25. data/test/dummy/app/views/projects/_form.html.erb +21 -0
  26. data/test/dummy/app/views/projects/edit.html.erb +6 -0
  27. data/test/dummy/app/views/projects/index.html.erb +25 -0
  28. data/test/dummy/app/views/projects/new.html.erb +5 -0
  29. data/test/dummy/app/views/projects/show.html.erb +33 -0
  30. data/test/dummy/app/views/tasks/_task.html +1 -0
  31. data/test/dummy/bin/bundle +3 -0
  32. data/test/dummy/bin/rails +4 -0
  33. data/test/dummy/bin/rake +4 -0
  34. data/test/dummy/config.ru +4 -0
  35. data/test/dummy/config/application.rb +23 -0
  36. data/test/dummy/config/boot.rb +5 -0
  37. data/test/dummy/config/database.yml +30 -0
  38. data/test/dummy/config/environment.rb +5 -0
  39. data/test/dummy/config/environments/development.rb +37 -0
  40. data/test/dummy/config/environments/production.rb +83 -0
  41. data/test/dummy/config/environments/test.rb +39 -0
  42. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  43. data/test/dummy/config/initializers/inflections.rb +16 -0
  44. data/test/dummy/config/initializers/mime_types.rb +5 -0
  45. data/test/dummy/config/initializers/secret_token.rb +1 -0
  46. data/test/dummy/config/initializers/session_store.rb +3 -0
  47. data/test/dummy/config/locales/en.yml +23 -0
  48. data/test/dummy/config/routes.rb +6 -0
  49. data/test/dummy/config/secrets.yml +22 -0
  50. data/test/dummy/db/migrate/20140517101419_create_projects_and_tasks.rb +19 -0
  51. data/test/dummy/db/schema.rb +31 -0
  52. data/test/dummy/db/test.sqlite3 +0 -0
  53. data/test/dummy/log/development.log +1284 -0
  54. data/test/dummy/log/test.log +7437 -0
  55. data/test/dummy/public/404.html +67 -0
  56. data/test/dummy/public/422.html +67 -0
  57. data/test/dummy/public/500.html +66 -0
  58. data/test/dummy/public/favicon.ico +0 -0
  59. data/test/dummy/test/fixtures/projects.yml +7 -0
  60. data/test/dummy/test/fixtures/tasks.yml +14 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  67. data/test/functional/auto_present_instance_vars_test.rb +34 -0
  68. data/test/test_helper.rb +11 -0
  69. metadata +187 -0
@@ -0,0 +1,19 @@
1
+ class CreateProjectsAndTasks < ActiveRecord::Migration
2
+
3
+ def change
4
+
5
+ create_table :projects do |t|
6
+ t.string :name
7
+ t.timestamps
8
+ end
9
+
10
+ create_table :tasks do |t|
11
+ t.belongs_to :project
12
+ t.string :name
13
+ t.float :budget
14
+ t.datetime :completed_at
15
+ t.timestamps
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,31 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20140517101419) do
15
+
16
+ create_table "projects", force: true do |t|
17
+ t.string "name"
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ end
21
+
22
+ create_table "tasks", force: true do |t|
23
+ t.integer "project_id"
24
+ t.string "name"
25
+ t.float "budget"
26
+ t.datetime "completed_at"
27
+ t.datetime "created_at"
28
+ t.datetime "updated_at"
29
+ end
30
+
31
+ end
@@ -0,0 +1,1284 @@
1
+  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateProjectsAndTasks (20140517101419)
6
+  (0.0ms) begin transaction
7
+  (0.3ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
8
+  (0.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "project_id" integer, "name" varchar(255), "completed_at" datetime) 
9
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140517101419"]]
10
+  (0.9ms) commit transaction
11
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+
13
+
14
+ Started GET "/" for 127.0.0.1 at 2014-05-17 11:46:50 +0100
15
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
+
17
+ ActiveRecord::PendingMigrationError (
18
+
19
+ Migrations are pending. To resolve this issue, run:
20
+
21
+ bin/rake db:migrate RAILS_ENV=development
22
+
23
+ ):
24
+ activerecord (4.1.1) lib/active_record/migration.rb:389:in `check_pending!'
25
+ activerecord (4.1.1) lib/active_record/migration.rb:377:in `call'
26
+ actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
27
+ activesupport (4.1.1) lib/active_support/callbacks.rb:82:in `run_callbacks'
28
+ actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
29
+ actionpack (4.1.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
30
+ actionpack (4.1.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
31
+ actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
32
+ actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
33
+ railties (4.1.1) lib/rails/rack/logger.rb:38:in `call_app'
34
+ railties (4.1.1) lib/rails/rack/logger.rb:20:in `block in call'
35
+ activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
36
+ activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
37
+ activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `tagged'
38
+ railties (4.1.1) lib/rails/rack/logger.rb:20:in `call'
39
+ actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
40
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
41
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
42
+ activesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
43
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
44
+ actionpack (4.1.1) lib/action_dispatch/middleware/static.rb:64:in `call'
45
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
46
+ railties (4.1.1) lib/rails/engine.rb:514:in `call'
47
+ railties (4.1.1) lib/rails/application.rb:144:in `call'
48
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
49
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
50
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
51
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
52
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
53
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
54
+
55
+
56
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
57
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
58
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
59
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms)
60
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
+
63
+
64
+ Started GET "/" for 127.0.0.1 at 2014-05-17 11:48:02 +0100
65
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+ Processing by ProjectsController#index as HTML
67
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
68
+ Rendered projects/index.html.erb within layouts/application (2.0ms)
69
+ Completed 200 OK in 36ms (Views: 32.3ms | ActiveRecord: 0.2ms)
70
+
71
+
72
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:48:02 +0100
73
+
74
+
75
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:48:02 +0100
76
+
77
+
78
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:48:02 +0100
79
+
80
+
81
+ Started GET "/projects/new" for 127.0.0.1 at 2014-05-17 11:48:06 +0100
82
+ Processing by ProjectsController#new as HTML
83
+ Rendered projects/_form.html.erb (13.4ms)
84
+ Rendered projects/new.html.erb within layouts/application (15.8ms)
85
+ Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.2ms)
86
+
87
+
88
+ Started POST "/projects" for 127.0.0.1 at 2014-05-17 11:48:11 +0100
89
+ Processing by ProjectsController#create as HTML
90
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"q37VzmTXObieFjswUS6R8vukZM99COPG1LqxDhsK38Y=", "project"=>{"name"=>"Invoice-O-Matic"}, "commit"=>"Create Project"}
91
+  (0.1ms) begin transaction
92
+ SQL (0.7ms) INSERT INTO "projects" ("name") VALUES (?) [["name", "Invoice-O-Matic"]]
93
+  (0.9ms) commit transaction
94
+ Redirected to http://localhost:3000/projects/1
95
+ Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
96
+
97
+
98
+ Started GET "/projects/1" for 127.0.0.1 at 2014-05-17 11:48:11 +0100
99
+ Processing by ProjectsController#show as HTML
100
+ Parameters: {"id"=>"1"}
101
+ Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
102
+ Rendered projects/show.html.erb within layouts/application (1.1ms)
103
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
104
+
105
+
106
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:48:16 +0100
107
+ Processing by ProjectsController#index as HTML
108
+ Project Load (0.1ms) SELECT "projects".* FROM "projects"
109
+ Rendered projects/index.html.erb within layouts/application (1.0ms)
110
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
111
+
112
+
113
+ Started GET "/projects/new" for 127.0.0.1 at 2014-05-17 11:48:17 +0100
114
+ Processing by ProjectsController#new as HTML
115
+ Rendered projects/_form.html.erb (1.4ms)
116
+ Rendered projects/new.html.erb within layouts/application (2.0ms)
117
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
118
+
119
+
120
+ Started POST "/projects" for 127.0.0.1 at 2014-05-17 11:48:23 +0100
121
+ Processing by ProjectsController#create as HTML
122
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"q37VzmTXObieFjswUS6R8vukZM99COPG1LqxDhsK38Y=", "project"=>{"name"=>"AutoPresenter"}, "commit"=>"Create Project"}
123
+  (0.1ms) begin transaction
124
+ SQL (0.2ms) INSERT INTO "projects" ("name") VALUES (?) [["name", "AutoPresenter"]]
125
+  (0.8ms) commit transaction
126
+ Redirected to http://localhost:3000/projects/2
127
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
128
+
129
+
130
+ Started GET "/projects/2" for 127.0.0.1 at 2014-05-17 11:48:23 +0100
131
+ Processing by ProjectsController#show as HTML
132
+ Parameters: {"id"=>"2"}
133
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 2]]
134
+ Rendered projects/show.html.erb within layouts/application (0.7ms)
135
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.1ms)
136
+
137
+
138
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:48:25 +0100
139
+ Processing by ProjectsController#index as HTML
140
+ Project Load (0.1ms) SELECT "projects".* FROM "projects"
141
+ Rendered projects/index.html.erb within layouts/application (1.5ms)
142
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.1ms)
143
+
144
+
145
+ Started GET "/projects/1" for 127.0.0.1 at 2014-05-17 11:48:29 +0100
146
+ Processing by ProjectsController#show as HTML
147
+ Parameters: {"id"=>"1"}
148
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
149
+ Rendered projects/show.html.erb within layouts/application (0.5ms)
150
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
151
+
152
+
153
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:50:34 +0100
154
+ Processing by ProjectsController#index as HTML
155
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
156
+ Rendered projects/index.html.erb within layouts/application (3.5ms)
157
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.4ms)
158
+
159
+
160
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:50:34 +0100
161
+
162
+
163
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:50:34 +0100
164
+
165
+
166
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:50:34 +0100
167
+
168
+
169
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:50:46 +0100
170
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
171
+ Processing by ProjectsController#index as HTML
172
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
173
+ Rendered projects/index.html.erb within layouts/application (5.0ms)
174
+ Completed 200 OK in 31ms (Views: 26.8ms | ActiveRecord: 0.4ms)
175
+
176
+
177
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:50:46 +0100
178
+
179
+
180
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:50:46 +0100
181
+
182
+
183
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:50:46 +0100
184
+
185
+
186
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:52:13 +0100
187
+ Processing by ProjectsController#index as HTML
188
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
189
+ Rendered projects/index.html.erb within layouts/application (3.8ms)
190
+ Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 0.6ms)
191
+
192
+
193
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:52:13 +0100
194
+
195
+
196
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:52:13 +0100
197
+
198
+
199
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:52:13 +0100
200
+
201
+
202
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:52:24 +0100
203
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
204
+ Processing by ProjectsController#index as HTML
205
+ Project Load (0.1ms) SELECT "projects".* FROM "projects"
206
+ Rendered projects/index.html.erb within layouts/application (4.2ms)
207
+ Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.3ms)
208
+
209
+
210
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:52:24 +0100
211
+
212
+
213
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:52:24 +0100
214
+
215
+
216
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:52:24 +0100
217
+
218
+
219
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:53:49 +0100
220
+ Processing by ProjectsController#index as HTML
221
+ Project Load (0.1ms) SELECT "projects".* FROM "projects"
222
+ Rendered projects/index.html.erb within layouts/application (1.3ms)
223
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.1ms)
224
+
225
+
226
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:53:49 +0100
227
+
228
+
229
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:53:49 +0100
230
+
231
+
232
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:53:49 +0100
233
+
234
+
235
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:53:55 +0100
236
+ Processing by ProjectsController#index as HTML
237
+ Project Load (0.1ms) SELECT "projects".* FROM "projects"
238
+ Rendered projects/index.html.erb within layouts/application (1.4ms)
239
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms)
240
+
241
+
242
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:53:55 +0100
243
+
244
+
245
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:53:55 +0100
246
+
247
+
248
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:53:55 +0100
249
+
250
+
251
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:54:52 +0100
252
+ Processing by ProjectsController#index as HTML
253
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
254
+ Rendered projects/index.html.erb within layouts/application (4.6ms)
255
+ Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 0.5ms)
256
+
257
+
258
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:54:52 +0100
259
+
260
+
261
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:54:52 +0100
262
+
263
+
264
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:54:52 +0100
265
+
266
+
267
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:55:14 +0100
268
+ Processing by ProjectsController#index as HTML
269
+ Project Load (0.3ms) SELECT "projects".* FROM "projects"
270
+ Rendered projects/index.html.erb within layouts/application (3.1ms)
271
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.4ms)
272
+
273
+
274
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:55:14 +0100
275
+
276
+
277
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:55:14 +0100
278
+
279
+
280
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:55:14 +0100
281
+
282
+
283
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:55:29 +0100
284
+ Processing by ProjectsController#index as HTML
285
+ Project Load (0.1ms) SELECT "projects".* FROM "projects"
286
+ Rendered projects/index.html.erb within layouts/application (1.3ms)
287
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
288
+
289
+
290
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:55:29 +0100
291
+
292
+
293
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:55:29 +0100
294
+
295
+
296
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:55:29 +0100
297
+
298
+
299
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:56:13 +0100
300
+ Processing by ProjectsController#index as HTML
301
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
302
+ Rendered projects/index.html.erb within layouts/application (4.2ms)
303
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.5ms)
304
+
305
+
306
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:56:13 +0100
307
+
308
+
309
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:56:13 +0100
310
+
311
+
312
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:56:13 +0100
313
+
314
+
315
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:56:53 +0100
316
+ Processing by ProjectsController#index as HTML
317
+ Project Load (0.3ms) SELECT "projects".* FROM "projects"
318
+ Rendered projects/index.html.erb within layouts/application (3.5ms)
319
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.5ms)
320
+
321
+
322
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:56:54 +0100
323
+
324
+
325
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:56:54 +0100
326
+
327
+
328
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:56:54 +0100
329
+
330
+
331
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:57:53 +0100
332
+
333
+ ActionController::RoutingError (undefined method `before' for ApplicationController:Class):
334
+ app/controllers/application_controller.rb:2:in `<class:ApplicationController>'
335
+ app/controllers/application_controller.rb:1:in `<top (required)>'
336
+ app/controllers/projects_controller.rb:1:in `<top (required)>'
337
+
338
+
339
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
340
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms)
341
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.8ms)
342
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (40.8ms)
343
+
344
+
345
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:58:13 +0100
346
+
347
+ ActionController::RoutingError (undefined method `_render_callbacks' for ApplicationController:Class):
348
+ app/controllers/application_controller.rb:2:in `<class:ApplicationController>'
349
+ app/controllers/application_controller.rb:1:in `<top (required)>'
350
+ app/controllers/projects_controller.rb:1:in `<top (required)>'
351
+
352
+
353
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
354
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms)
355
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.8ms)
356
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.0ms)
357
+
358
+
359
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 11:59:11 +0100
360
+ Processing by ProjectsController#index as HTML
361
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
362
+ Rendered projects/index.html.erb within layouts/application (3.0ms)
363
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
364
+
365
+
366
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 11:59:11 +0100
367
+
368
+
369
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 11:59:11 +0100
370
+
371
+
372
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 11:59:11 +0100
373
+
374
+
375
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:00:16 +0100
376
+
377
+ SyntaxError (/Users/afcapel/projects/auto_presenter/test/dummy/app/controllers/application_controller.rb:4: syntax error, unexpected '|'
378
+ ...llback :render, :before, -> { |c| c.auto_present_instance_va...
379
+ ... ^):
380
+ app/controllers/projects_controller.rb:1:in `<top (required)>'
381
+
382
+
383
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
384
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
385
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
386
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
387
+
388
+
389
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:00:42 +0100
390
+
391
+ SyntaxError (/Users/afcapel/projects/auto_presenter/test/dummy/app/controllers/application_controller.rb:4: syntax error, unexpected ->, expecting keyword_end
392
+ ...et_callback :render, :before -> { |c| c.auto_present_instanc...
393
+ ... ^):
394
+ app/controllers/projects_controller.rb:1:in `<top (required)>'
395
+
396
+
397
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
398
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
399
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
400
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.3ms)
401
+
402
+
403
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:01:08 +0100
404
+
405
+ SyntaxError (/Users/afcapel/projects/auto_presenter/test/dummy/app/controllers/application_controller.rb:4: syntax error, unexpected '|', expecting '}'
406
+ set_callback :render, :before, { |c| c.auto_present_instance_vars }
407
+ ^
408
+ /Users/afcapel/projects/auto_presenter/test/dummy/app/controllers/application_controller.rb:4: syntax error, unexpected '}', expecting keyword_end):
409
+ app/controllers/projects_controller.rb:1:in `<top (required)>'
410
+
411
+
412
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
413
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
414
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
415
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.8ms)
416
+
417
+
418
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:01:37 +0100
419
+ Processing by ProjectsController#index as HTML
420
+ Project Load (0.3ms) SELECT "projects".* FROM "projects"
421
+ Rendered projects/index.html.erb within layouts/application (3.0ms)
422
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.4ms)
423
+
424
+
425
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 12:01:37 +0100
426
+
427
+
428
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 12:01:37 +0100
429
+
430
+
431
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 12:01:37 +0100
432
+
433
+
434
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:01:56 +0100
435
+ Processing by ProjectsController#index as HTML
436
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
437
+ Rendered projects/index.html.erb within layouts/application (2.6ms)
438
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms)
439
+
440
+
441
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 12:01:56 +0100
442
+
443
+
444
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 12:01:56 +0100
445
+
446
+
447
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 12:01:56 +0100
448
+
449
+
450
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:04:06 +0100
451
+ Processing by ProjectsController#index as HTML
452
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
453
+ Rendered projects/index.html.erb within layouts/application (2.8ms)
454
+ Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.4ms)
455
+
456
+
457
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 12:04:06 +0100
458
+
459
+
460
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 12:04:06 +0100
461
+
462
+
463
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 12:04:06 +0100
464
+
465
+
466
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:05:01 +0100
467
+ Processing by ProjectsController#index as HTML
468
+ Project Load (0.3ms) SELECT "projects".* FROM "projects"
469
+ Rendered projects/index.html.erb within layouts/application (4.3ms)
470
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.5ms)
471
+
472
+
473
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 12:05:01 +0100
474
+
475
+
476
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 12:05:01 +0100
477
+
478
+
479
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 12:05:01 +0100
480
+
481
+
482
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:05:44 +0100
483
+ Processing by ProjectsController#index as HTML
484
+
485
+ ***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
486
+
487
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
488
+ Rendered projects/index.html.erb within layouts/application (3.2ms)
489
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.4ms)
490
+
491
+
492
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 12:05:44 +0100
493
+
494
+
495
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 12:05:44 +0100
496
+
497
+
498
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 12:05:44 +0100
499
+
500
+
501
+ Started GET "/projects" for 127.0.0.1 at 2014-05-17 12:06:24 +0100
502
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
503
+ Processing by ProjectsController#index as HTML
504
+
505
+ ***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
506
+
507
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
508
+ Rendered projects/index.html.erb within layouts/application (4.4ms)
509
+ Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.3ms)
510
+
511
+
512
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-17 12:06:25 +0100
513
+
514
+
515
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-05-17 12:06:25 +0100
516
+
517
+
518
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-17 12:06:25 +0100
519
+
520
+
521
+ Started GET "/" for 127.0.0.1 at 2014-06-28 21:02:06 +0100
522
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
523
+ Processing by ProjectsController#index as HTML
524
+ Project Load (0.6ms) SELECT "projects".* FROM "projects"
525
+ Rendered projects/index.html.erb within layouts/application (7.5ms)
526
+ Completed 200 OK in 46ms (Views: 38.9ms | ActiveRecord: 0.8ms)
527
+
528
+
529
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:02:06 +0100
530
+
531
+
532
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:02:06 +0100
533
+
534
+
535
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:02:06 +0100
536
+
537
+
538
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:02:12 +0100
539
+ Processing by ProjectsController#show as HTML
540
+ Parameters: {"id"=>"1"}
541
+ Project Load (0.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
542
+ Rendered projects/show.html.erb within layouts/application (1.2ms)
543
+ Completed 200 OK in 21ms (Views: 4.1ms | ActiveRecord: 0.4ms)
544
+
545
+
546
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:03:06 +0100
547
+ Processing by ProjectsController#show as HTML
548
+ Parameters: {"id"=>"1"}
549
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
550
+ Task Load (0.9ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? [["project_id", 1]]
551
+ Completed 500 Internal Server Error in 13ms
552
+
553
+ NameError (undefined local variable or method `project' for #<ProjectsController:0x007fea1d0c0990>):
554
+ app/controllers/projects_controller.rb:13:in `show'
555
+
556
+
557
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
558
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
559
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
560
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.4ms)
561
+
562
+
563
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:06:10 +0100
564
+ Processing by ProjectsController#show as HTML
565
+ Parameters: {"id"=>"1"}
566
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
567
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? [["project_id", 1]]
568
+ Completed 500 Internal Server Error in 7ms
569
+
570
+ NameError (undefined local variable or method `project' for #<ProjectsController:0x007fea1bfcfe60>):
571
+ app/controllers/projects_controller.rb:16:in `show'
572
+
573
+
574
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
575
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
576
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
577
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms)
578
+
579
+
580
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:06:30 +0100
581
+ Processing by ProjectsController#show as HTML
582
+ Parameters: {"id"=>"1"}
583
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
584
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? [["project_id", 1]]
585
+ Completed 500 Internal Server Error in 6ms
586
+
587
+ NoMethodError (undefined method `uncompleted' for #<ActiveRecord::Associations::CollectionProxy []>):
588
+ app/controllers/projects_controller.rb:14:in `show'
589
+
590
+
591
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
592
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
593
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
594
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.2ms)
595
+
596
+
597
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:07:05 +0100
598
+ Processing by ProjectsController#show as HTML
599
+ Parameters: {"id"=>"1"}
600
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
601
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
602
+ Rendered collection (0.0ms)
603
+ CACHE (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
604
+ Rendered collection (0.0ms)
605
+ Rendered projects/show.html.erb within layouts/application (6.5ms)
606
+ Completed 200 OK in 21ms (Views: 8.8ms | ActiveRecord: 0.7ms)
607
+
608
+
609
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:07:05 +0100
610
+
611
+
612
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:07:05 +0100
613
+
614
+
615
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:07:05 +0100
616
+
617
+
618
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:07:48 +0100
619
+ Processing by ProjectsController#show as HTML
620
+ Parameters: {"id"=>"1"}
621
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
622
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
623
+ Rendered collection (0.0ms)
624
+ CACHE (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
625
+ Rendered collection (0.0ms)
626
+ Rendered projects/show.html.erb within layouts/application (2.4ms)
627
+ Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.2ms)
628
+
629
+
630
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:07:48 +0100
631
+
632
+
633
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:07:48 +0100
634
+
635
+
636
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:07:48 +0100
637
+
638
+
639
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:07:57 +0100
640
+ Processing by ProjectsController#show as HTML
641
+ Parameters: {"id"=>"1"}
642
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
643
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
644
+ Rendered collection (0.0ms)
645
+ CACHE (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
646
+ Rendered collection (0.0ms)
647
+ Rendered projects/show.html.erb within layouts/application (2.0ms)
648
+ Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms)
649
+
650
+
651
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:07:57 +0100
652
+
653
+
654
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:07:57 +0100
655
+
656
+
657
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:07:57 +0100
658
+
659
+
660
+ Started GET "/tasks/new.1" for 127.0.0.1 at 2014-06-28 21:07:58 +0100
661
+ Processing by TasksController#new as
662
+ Completed 404 Not Found in 0ms
663
+
664
+ ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
665
+ app/controllers/tasks_controller.rb:52:in `set_project'
666
+
667
+
668
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
669
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
670
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
671
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms)
672
+
673
+
674
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:08:10 +0100
675
+ Processing by ProjectsController#show as HTML
676
+ Parameters: {"id"=>"1"}
677
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
678
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
679
+ Rendered collection (0.0ms)
680
+ CACHE (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
681
+ Rendered collection (0.0ms)
682
+ Rendered projects/show.html.erb within layouts/application (2.6ms)
683
+ Completed 200 OK in 11ms (Views: 5.4ms | ActiveRecord: 0.2ms)
684
+
685
+
686
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:08:10 +0100
687
+
688
+
689
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:08:10 +0100
690
+
691
+
692
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:08:10 +0100
693
+
694
+
695
+ Started GET "/tasks/new?project_id=1" for 127.0.0.1 at 2014-06-28 21:08:12 +0100
696
+ Processing by TasksController#new as HTML
697
+ Parameters: {"project_id"=>"1"}
698
+ Completed 404 Not Found in 0ms
699
+
700
+ ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
701
+ app/controllers/tasks_controller.rb:52:in `set_project'
702
+
703
+
704
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
705
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
706
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
707
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
708
+
709
+
710
+ Started GET "/tasks/new?project_id=1" for 127.0.0.1 at 2014-06-28 21:08:30 +0100
711
+ Processing by TasksController#new as HTML
712
+ Parameters: {"project_id"=>"1"}
713
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
714
+ Rendered tasks/_form.html.erb (13.7ms)
715
+ Rendered tasks/new.html.erb within layouts/application (15.3ms)
716
+ Completed 500 Internal Server Error in 24ms
717
+
718
+ ActionView::Template::Error (undefined method `model_name' for TaskPresenter:Class):
719
+ 12: <% end %>
720
+ 13:
721
+ 14: <div class="field">
722
+ 15: <%= f.label :name %><br>
723
+ 16: <%= f.text_field :name %>
724
+ 17: </div>
725
+ 18: <div class="field">
726
+ app/views/tasks/_form.html.erb:15:in `block in _app_views_tasks__form_html_erb___2928636709865919971_70321764194240'
727
+ app/views/tasks/_form.html.erb:1:in `_app_views_tasks__form_html_erb___2928636709865919971_70321764194240'
728
+ app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb___664641292365320696_70321764240960'
729
+
730
+
731
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
732
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
733
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (7.9ms)
734
+
735
+
736
+ Started GET "/tasks/new?project_id=1" for 127.0.0.1 at 2014-06-28 21:10:45 +0100
737
+ Processing by TasksController#new as HTML
738
+ Parameters: {"project_id"=>"1"}
739
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
740
+ Rendered tasks/_form.html.erb (3.4ms)
741
+ Rendered tasks/new.html.erb within layouts/application (3.9ms)
742
+ Completed 500 Internal Server Error in 12ms
743
+
744
+ ActionView::Template::Error (undefined method `model_name' for TaskPresenter:Class):
745
+ 12: <% end %>
746
+ 13:
747
+ 14: <div class="field">
748
+ 15: <%= f.label :name %><br>
749
+ 16: <%= f.text_field :name %>
750
+ 17: </div>
751
+ 18: <div class="field">
752
+ app/views/tasks/_form.html.erb:15:in `block in _app_views_tasks__form_html_erb___2928636709865919971_70321764194240'
753
+ app/views/tasks/_form.html.erb:1:in `_app_views_tasks__form_html_erb___2928636709865919971_70321764194240'
754
+ app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb___664641292365320696_70321764240960'
755
+
756
+
757
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
758
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
759
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (7.9ms)
760
+
761
+
762
+ Started GET "/tasks/new?project_id=1" for 127.0.0.1 at 2014-06-28 21:14:47 +0100
763
+ Processing by TasksController#new as HTML
764
+ Parameters: {"project_id"=>"1"}
765
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
766
+ Rendered tasks/_form.html.erb (0.9ms)
767
+ Rendered tasks/new.html.erb within layouts/application (1.3ms)
768
+ Completed 500 Internal Server Error in 4ms
769
+
770
+ ActionView::Template::Error (undefined method `model_name' for TaskPresenter:Class):
771
+ 12: <% end %>
772
+ 13:
773
+ 14: <div class="field">
774
+ 15: <%= f.label :name %><br>
775
+ 16: <%= f.text_field :name %>
776
+ 17: </div>
777
+ 18: <div class="field">
778
+ app/views/tasks/_form.html.erb:15:in `block in _app_views_tasks__form_html_erb___2928636709865919971_70321764194240'
779
+ app/views/tasks/_form.html.erb:1:in `_app_views_tasks__form_html_erb___2928636709865919971_70321764194240'
780
+ app/views/tasks/new.html.erb:3:in `_app_views_tasks_new_html_erb___664641292365320696_70321764240960'
781
+
782
+
783
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
784
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
785
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (8.8ms)
786
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1
787
+  (0.1ms) begin transaction
788
+ SQL (0.7ms) INSERT INTO "tasks" ("completed_at", "name", "project_id") VALUES (?, ?, ?) [["completed_at", "2014-06-26 20:16:02.806286"], ["name", "Design"], ["project_id", 1]]
789
+  (4.5ms) commit transaction
790
+  (0.1ms) begin transaction
791
+ SQL (0.4ms) INSERT INTO "tasks" ("name", "project_id") VALUES (?, ?) [["name", "Implementation"], ["project_id", 1]]
792
+  (1.6ms) commit transaction
793
+
794
+
795
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:16:19 +0100
796
+ Processing by ProjectsController#show as HTML
797
+ Parameters: {"id"=>"1"}
798
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
799
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
800
+ Rendered collection (0.0ms)
801
+ CACHE (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
802
+ Rendered collection (0.0ms)
803
+ Rendered projects/show.html.erb within layouts/application (2.9ms)
804
+ Completed 200 OK in 13ms (Views: 5.0ms | ActiveRecord: 0.3ms)
805
+
806
+
807
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:16:19 +0100
808
+
809
+
810
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:16:19 +0100
811
+
812
+
813
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:16:19 +0100
814
+
815
+
816
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:16:21 +0100
817
+ Processing by ProjectsController#show as HTML
818
+ Parameters: {"id"=>"1"}
819
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
820
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
821
+ Rendered collection (0.0ms)
822
+ CACHE (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
823
+ Rendered collection (0.0ms)
824
+ Rendered projects/show.html.erb within layouts/application (1.7ms)
825
+ Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 0.2ms)
826
+
827
+
828
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:16:21 +0100
829
+
830
+
831
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:16:21 +0100
832
+
833
+
834
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:16:21 +0100
835
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1
836
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? [["project_id", 1]]
837
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND ('completed_at') [["project_id", 1]]
838
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1
839
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND "tasks"."completed_at" = 'IS NOT NULL' [["project_id", 1]]
840
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1
841
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
842
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
843
+
844
+
845
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:18:02 +0100
846
+ Processing by ProjectsController#show as HTML
847
+ Parameters: {"id"=>"1"}
848
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
849
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
850
+ Rendered tasks/_task.html.erb (0.9ms)
851
+ Rendered projects/show.html.erb within layouts/application (6.6ms)
852
+ Completed 500 Internal Server Error in 20ms
853
+
854
+ ActionView::Template::Error (undefined method `status' for #<Task:0x007fea1d347448>):
855
+ 1: <li>
856
+ 2: <%= task.name %> <%= task.status %>
857
+ 3: </li>
858
+ app/views/tasks/_task.html.erb:2:in `_app_views_tasks__task_html_erb__139267630964195062_70321732951480'
859
+ app/views/projects/show.html.erb:11:in `_app_views_projects_show_html_erb__2967669964517383260_70321745458320'
860
+
861
+
862
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
863
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
864
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (7.3ms)
865
+
866
+
867
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:18:26 +0100
868
+ Processing by ProjectsController#show as HTML
869
+ Parameters: {"id"=>"1"}
870
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
871
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
872
+ Rendered tasks/_task.html.erb (0.1ms)
873
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
874
+ Rendered tasks/_task.html.erb (0.2ms)
875
+ Rendered projects/show.html.erb within layouts/application (6.3ms)
876
+ Completed 200 OK in 21ms (Views: 8.3ms | ActiveRecord: 0.8ms)
877
+
878
+
879
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:18:26 +0100
880
+
881
+
882
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:18:26 +0100
883
+
884
+
885
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:18:26 +0100
886
+
887
+
888
+ Started GET "/" for 127.0.0.1 at 2014-06-28 21:34:32 +0100
889
+ Processing by ProjectsController#index as HTML
890
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
891
+ Rendered projects/index.html.erb within layouts/application (3.0ms)
892
+ Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.4ms)
893
+
894
+
895
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:34:32 +0100
896
+
897
+
898
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:34:32 +0100
899
+
900
+
901
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:34:32 +0100
902
+
903
+
904
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:34:34 +0100
905
+ Processing by ProjectsController#show as HTML
906
+ Parameters: {"id"=>"1"}
907
+ Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
908
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
909
+ Rendered tasks/_task.html.erb (0.1ms)
910
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
911
+ Rendered tasks/_task.html.erb (0.1ms)
912
+ Rendered projects/show.html.erb within layouts/application (3.3ms)
913
+ Completed 200 OK in 29ms (Views: 5.6ms | ActiveRecord: 0.7ms)
914
+
915
+
916
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:34:34 +0100
917
+
918
+
919
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:34:34 +0100
920
+
921
+
922
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:34:34 +0100
923
+
924
+
925
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:36:02 +0100
926
+ Processing by ProjectsController#show as HTML
927
+ Parameters: {"id"=>"1"}
928
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
929
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
930
+ Rendered tasks/_task.html.erb (0.1ms)
931
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
932
+ Rendered tasks/_task.html.erb (0.1ms)
933
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? [["project_id", 1]]
934
+ Rendered projects/show.html.erb within layouts/application (14.5ms)
935
+ Completed 500 Internal Server Error in 22ms
936
+
937
+ ActionView::Template::Error (undefined method `label_for' for #<ActionView::Helpers::FormBuilder:0x007fea1f9410e0>):
938
+ 21:
939
+ 22: <%= form_for [@project, @new_task] do |f| %>
940
+ 23: <p>
941
+ 24: <%= f.label_for :name, "New task" %>
942
+ 25: <%= f.text_field :name %>
943
+ 26: <p>
944
+ 27: <% end %>
945
+ app/views/projects/show.html.erb:24:in `block in _app_views_projects_show_html_erb__2967669964517383260_70321764663340'
946
+ app/views/projects/show.html.erb:22:in `_app_views_projects_show_html_erb__2967669964517383260_70321764663340'
947
+
948
+
949
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
950
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
951
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (8.5ms)
952
+
953
+
954
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:36:22 +0100
955
+ Processing by ProjectsController#show as HTML
956
+ Parameters: {"id"=>"1"}
957
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
958
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
959
+ Rendered tasks/_task.html.erb (0.1ms)
960
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
961
+ Rendered tasks/_task.html.erb (0.1ms)
962
+ Rendered projects/show.html.erb within layouts/application (7.3ms)
963
+ Completed 200 OK in 16ms (Views: 10.1ms | ActiveRecord: 0.2ms)
964
+
965
+
966
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:36:22 +0100
967
+
968
+
969
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:36:22 +0100
970
+
971
+
972
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:36:22 +0100
973
+
974
+
975
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:36:47 +0100
976
+ Processing by ProjectsController#show as HTML
977
+ Parameters: {"id"=>"1"}
978
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
979
+ Rendered projects/show.html.erb within layouts/application (0.7ms)
980
+ Completed 500 Internal Server Error in 8ms
981
+
982
+ SyntaxError (/Users/afcapel/projects/auto_presenter/test/dummy/app/views/projects/show.html.erb:25: syntax error, unexpected ')', expecting :: or '[' or '.'
983
+ ...append=( f.submit, "Add Task" );@output_buffer.safe_append='
984
+ ... ^
985
+ /Users/afcapel/projects/auto_presenter/test/dummy/app/views/projects/show.html.erb:27: syntax error, unexpected keyword_end, expecting ')'
986
+ '.freeze; end
987
+ ^
988
+ /Users/afcapel/projects/auto_presenter/test/dummy/app/views/projects/show.html.erb:33: syntax error, unexpected keyword_ensure, expecting ')'
989
+ /Users/afcapel/projects/auto_presenter/test/dummy/app/views/projects/show.html.erb:35: syntax error, unexpected keyword_end, expecting ')'):
990
+ actionview (4.1.1) lib/action_view/template.rb:297:in `module_eval'
991
+ actionview (4.1.1) lib/action_view/template.rb:297:in `compile'
992
+ actionview (4.1.1) lib/action_view/template.rb:245:in `block (2 levels) in compile!'
993
+ activesupport (4.1.1) lib/active_support/notifications.rb:161:in `instrument'
994
+ actionview (4.1.1) lib/action_view/template.rb:339:in `instrument'
995
+ actionview (4.1.1) lib/action_view/template.rb:244:in `block in compile!'
996
+ actionview (4.1.1) lib/action_view/template.rb:232:in `synchronize'
997
+ actionview (4.1.1) lib/action_view/template.rb:232:in `compile!'
998
+ actionview (4.1.1) lib/action_view/template.rb:144:in `block in render'
999
+ activesupport (4.1.1) lib/active_support/notifications.rb:161:in `instrument'
1000
+ actionview (4.1.1) lib/action_view/template.rb:339:in `instrument'
1001
+ actionview (4.1.1) lib/action_view/template.rb:143:in `render'
1002
+ actionview (4.1.1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
1003
+ actionview (4.1.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1004
+ activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument'
1005
+ activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1006
+ activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument'
1007
+ actionview (4.1.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1008
+ actionview (4.1.1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
1009
+ actionview (4.1.1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
1010
+ actionview (4.1.1) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
1011
+ actionview (4.1.1) lib/action_view/renderer/template_renderer.rb:17:in `render'
1012
+ actionview (4.1.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
1013
+ actionview (4.1.1) lib/action_view/renderer/renderer.rb:23:in `render'
1014
+ actionview (4.1.1) lib/action_view/rendering.rb:99:in `_render_template'
1015
+ actionpack (4.1.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
1016
+ actionview (4.1.1) lib/action_view/rendering.rb:82:in `render_to_body'
1017
+ actionpack (4.1.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
1018
+ actionpack (4.1.1) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
1019
+ actionpack (4.1.1) lib/abstract_controller/rendering.rb:25:in `render'
1020
+ actionpack (4.1.1) lib/action_controller/metal/rendering.rb:16:in `render'
1021
+ actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
1022
+ activesupport (4.1.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
1023
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
1024
+ activesupport (4.1.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
1025
+ actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
1026
+ actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
1027
+ activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
1028
+ actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:40:in `render'
1029
+ /Users/afcapel/projects/auto_presenter/lib/auto_presenter.rb:13:in `block in render'
1030
+ activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call'
1031
+ activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call'
1032
+ activesupport (4.1.1) lib/active_support/callbacks.rb:185:in `block in simple'
1033
+ activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call'
1034
+ activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks'
1035
+ /Users/afcapel/projects/auto_presenter/lib/auto_presenter.rb:13:in `render'
1036
+ actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1037
+ actionpack (4.1.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
1038
+ actionpack (4.1.1) lib/abstract_controller/base.rb:189:in `process_action'
1039
+ actionpack (4.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
1040
+ actionpack (4.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1041
+ activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call'
1042
+ activesupport (4.1.1) lib/active_support/callbacks.rb:113:in `call'
1043
+ activesupport (4.1.1) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
1044
+ activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `call'
1045
+ activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks'
1046
+ actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1047
+ actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
1048
+ actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1049
+ activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument'
1050
+ activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1051
+ activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument'
1052
+ actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1053
+ actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1054
+ activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1055
+ actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process'
1056
+ actionview (4.1.1) lib/action_view/rendering.rb:30:in `process'
1057
+ actionpack (4.1.1) lib/action_controller/metal.rb:195:in `dispatch'
1058
+ actionpack (4.1.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1059
+ actionpack (4.1.1) lib/action_controller/metal.rb:231:in `block in action'
1060
+ actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in `call'
1061
+ actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1062
+ actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:48:in `call'
1063
+ actionpack (4.1.1) lib/action_dispatch/journey/router.rb:71:in `block in call'
1064
+ actionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in `each'
1065
+ actionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in `call'
1066
+ actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:676:in `call'
1067
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1068
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1069
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1070
+ actionpack (4.1.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1071
+ actionpack (4.1.1) lib/action_dispatch/middleware/flash.rb:254:in `call'
1072
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1073
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1074
+ actionpack (4.1.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1075
+ activerecord (4.1.1) lib/active_record/query_cache.rb:36:in `call'
1076
+ activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
1077
+ activerecord (4.1.1) lib/active_record/migration.rb:380:in `call'
1078
+ actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1079
+ activesupport (4.1.1) lib/active_support/callbacks.rb:82:in `run_callbacks'
1080
+ actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1081
+ actionpack (4.1.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1082
+ actionpack (4.1.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1083
+ actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1084
+ actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1085
+ railties (4.1.1) lib/rails/rack/logger.rb:38:in `call_app'
1086
+ railties (4.1.1) lib/rails/rack/logger.rb:20:in `block in call'
1087
+ activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1088
+ activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1089
+ activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `tagged'
1090
+ railties (4.1.1) lib/rails/rack/logger.rb:20:in `call'
1091
+ actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1092
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1093
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1094
+ activesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
1095
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1096
+ actionpack (4.1.1) lib/action_dispatch/middleware/static.rb:64:in `call'
1097
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1098
+ railties (4.1.1) lib/rails/engine.rb:514:in `call'
1099
+ railties (4.1.1) lib/rails/application.rb:144:in `call'
1100
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1101
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1102
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1103
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1104
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1105
+ /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1106
+
1107
+
1108
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
1109
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
1110
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1111
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms)
1112
+
1113
+
1114
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:37:01 +0100
1115
+ Processing by ProjectsController#show as HTML
1116
+ Parameters: {"id"=>"1"}
1117
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1118
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
1119
+ Rendered tasks/_task.html.erb (0.1ms)
1120
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
1121
+ Rendered tasks/_task.html.erb (0.1ms)
1122
+ Rendered projects/show.html.erb within layouts/application (4.5ms)
1123
+ Completed 200 OK in 21ms (Views: 6.7ms | ActiveRecord: 0.3ms)
1124
+
1125
+
1126
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:37:01 +0100
1127
+
1128
+
1129
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:37:01 +0100
1130
+
1131
+
1132
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:37:01 +0100
1133
+
1134
+
1135
+ Started POST "/projects/1/tasks" for 127.0.0.1 at 2014-06-28 21:37:05 +0100
1136
+ Processing by TasksController#create as HTML
1137
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"n2VP7wZ9whAPt4YXdHeGZs/e0Y9VLtC1kHEYaZJ38r8=", "task"=>{"name"=>"Hey"}, "commit"=>"Add Task", "project_id"=>"1"}
1138
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1139
+  (0.1ms) begin transaction
1140
+ SQL (0.4ms) INSERT INTO "tasks" ("name", "project_id") VALUES (?, ?) [["name", "Hey"], ["project_id", 1]]
1141
+  (3.8ms) commit transaction
1142
+ Redirected to http://localhost:3000/tasks/3
1143
+ Completed 302 Found in 9ms (ActiveRecord: 4.4ms)
1144
+
1145
+
1146
+ Started GET "/tasks/3" for 127.0.0.1 at 2014-06-28 21:37:05 +0100
1147
+ Processing by TasksController#show as HTML
1148
+ Parameters: {"id"=>"3"}
1149
+ Completed 404 Not Found in 0ms
1150
+
1151
+ ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
1152
+ app/controllers/tasks_controller.rb:52:in `set_project'
1153
+
1154
+
1155
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
1156
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
1157
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1158
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
1159
+
1160
+
1161
+ Started GET "/tasks/3" for 127.0.0.1 at 2014-06-28 21:37:33 +0100
1162
+ Processing by TasksController#show as HTML
1163
+ Parameters: {"id"=>"3"}
1164
+ Completed 404 Not Found in 0ms
1165
+
1166
+ ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
1167
+ app/controllers/tasks_controller.rb:52:in `set_project'
1168
+
1169
+
1170
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms)
1171
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
1172
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
1173
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.0ms)
1174
+
1175
+
1176
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:37:36 +0100
1177
+ Processing by ProjectsController#show as HTML
1178
+ Parameters: {"id"=>"1"}
1179
+ Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1180
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
1181
+ Rendered tasks/_task.html.erb (0.1ms)
1182
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
1183
+ Rendered tasks/_task.html.erb (0.1ms)
1184
+ Rendered projects/show.html.erb within layouts/application (6.6ms)
1185
+ Completed 200 OK in 15ms (Views: 8.8ms | ActiveRecord: 0.3ms)
1186
+
1187
+
1188
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:37:36 +0100
1189
+
1190
+
1191
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:37:36 +0100
1192
+
1193
+
1194
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:37:36 +0100
1195
+
1196
+
1197
+ Started POST "/projects/1/tasks" for 127.0.0.1 at 2014-06-28 21:37:42 +0100
1198
+ Processing by TasksController#create as HTML
1199
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"n2VP7wZ9whAPt4YXdHeGZs/e0Y9VLtC1kHEYaZJ38r8=", "task"=>{"project_id"=>"1", "name"=>"Hola"}, "commit"=>"Add Task", "project_id"=>"1"}
1200
+ Project Load (0.2ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1201
+ Unpermitted parameters: project_id
1202
+  (0.1ms) begin transaction
1203
+ SQL (0.3ms) INSERT INTO "tasks" ("name", "project_id") VALUES (?, ?) [["name", "Hola"], ["project_id", 1]]
1204
+  (1.1ms) commit transaction
1205
+ Redirected to http://localhost:3000/tasks/4
1206
+ Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
1207
+
1208
+
1209
+ Started GET "/tasks/4" for 127.0.0.1 at 2014-06-28 21:37:42 +0100
1210
+ Processing by TasksController#show as HTML
1211
+ Parameters: {"id"=>"4"}
1212
+ Completed 404 Not Found in 0ms
1213
+
1214
+ ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
1215
+ app/controllers/tasks_controller.rb:52:in `set_project'
1216
+
1217
+
1218
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
1219
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
1220
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
1221
+ Rendered /Users/afcapel/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.3ms)
1222
+
1223
+
1224
+ Started POST "/projects/1/tasks" for 127.0.0.1 at 2014-06-28 21:38:47 +0100
1225
+ Processing by TasksController#create as HTML
1226
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"n2VP7wZ9whAPt4YXdHeGZs/e0Y9VLtC1kHEYaZJ38r8=", "task"=>{"project_id"=>"1", "name"=>"Ahoy"}, "commit"=>"Add Task", "project_id"=>"1"}
1227
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1228
+ Unpermitted parameters: project_id
1229
+  (0.0ms) begin transaction
1230
+ SQL (0.2ms) INSERT INTO "tasks" ("name", "project_id") VALUES (?, ?) [["name", "Ahoy"], ["project_id", 1]]
1231
+  (0.7ms) commit transaction
1232
+ Redirected to http://localhost:3000/projects/1/tasks/5
1233
+ Completed 302 Found in 13ms (ActiveRecord: 1.7ms)
1234
+
1235
+
1236
+ Started GET "/projects/1/tasks/5" for 127.0.0.1 at 2014-06-28 21:38:48 +0100
1237
+ Processing by TasksController#show as HTML
1238
+ Parameters: {"project_id"=>"1", "id"=>"5"}
1239
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1240
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND "tasks"."id" = ? LIMIT 1 [["project_id", 1], ["id", 5]]
1241
+ Rendered tasks/show.html.erb within layouts/application (0.9ms)
1242
+ Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.3ms)
1243
+
1244
+
1245
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:38:48 +0100
1246
+
1247
+
1248
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:38:48 +0100
1249
+
1250
+
1251
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:38:48 +0100
1252
+
1253
+
1254
+ Started POST "/projects/1/tasks" for 127.0.0.1 at 2014-06-28 21:39:08 +0100
1255
+ Processing by TasksController#create as HTML
1256
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"n2VP7wZ9whAPt4YXdHeGZs/e0Y9VLtC1kHEYaZJ38r8=", "task"=>{"project_id"=>"1", "name"=>"Again"}, "commit"=>"Add Task", "project_id"=>"1"}
1257
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1258
+ Unpermitted parameters: project_id
1259
+  (0.1ms) begin transaction
1260
+ SQL (0.3ms) INSERT INTO "tasks" ("name", "project_id") VALUES (?, ?) [["name", "Again"], ["project_id", 1]]
1261
+  (0.7ms) commit transaction
1262
+ Redirected to http://localhost:3000/projects/1
1263
+ Completed 302 Found in 16ms (ActiveRecord: 1.9ms)
1264
+
1265
+
1266
+ Started GET "/projects/1" for 127.0.0.1 at 2014-06-28 21:39:08 +0100
1267
+ Processing by ProjectsController#show as HTML
1268
+ Parameters: {"id"=>"1"}
1269
+ Project Load (0.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = ? LIMIT 1 [["id", 1]]
1270
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NULL) [["project_id", 1]]
1271
+ Rendered tasks/_task.html.erb (0.1ms)
1272
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."project_id" = ? AND (`tasks`.`completed_at` IS NOT NULL) [["project_id", 1]]
1273
+ Rendered tasks/_task.html.erb (0.1ms)
1274
+ Rendered projects/show.html.erb within layouts/application (4.8ms)
1275
+ Completed 200 OK in 16ms (Views: 6.8ms | ActiveRecord: 0.4ms)
1276
+
1277
+
1278
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-06-28 21:39:08 +0100
1279
+
1280
+
1281
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-28 21:39:08 +0100
1282
+
1283
+
1284
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-28 21:39:08 +0100