Skip to content

Commit 39198f4

Browse files
committed
assignment task schneems#2 completed
1 parent d13a936 commit 39198f4

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,19 +202,21 @@ There is a lot of information in a tiny package. When things go wrong in your ap
202202
Visit this url: [localhost:3000/users](http://localhost:3000/users) and then find the log entry. Then open up the readme.md you copied onto your local machine and fill out this information:
203203

204204

205-
HTTP verb used in this request:
206-
URL:
207-
Controller Name:
208-
Controller Action:
209-
View File Name:
210-
Layout File Name:
211-
Response code of the request:
205+
HTTP verb used in this request: GET
206+
URL: /users
207+
Controller Name: Users
208+
Controller Action: index
209+
View File Name: users/index.html.erb
210+
Layout File Name: layouts application
211+
Response code of the request: 200
212212

213213
You should also notice a new line or two that we didn't see before, what is it (copy and paste, hint: after User Load) ?
214214

215-
Why do you think this line is there?
215+
←[1m←[36mUser Load (2.0ms)←[0m ←[1mSELECT "users".* FROM "users" ←[0m
216216

217+
Why do you think this line is there?
217218

219+
Its the SQL code that populates the results.
218220

219221
Save and commit your answers.
220222

app/views/products/index.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<h2> I AMA View </h2>
2+
<h2> Hello world </h2>
23
<p>
34
Find me in <%= Rails.root.join("app", "views", "products", __FILE__ ) %>
45
</p>

0 commit comments

Comments
 (0)