Skip to content

Console log inconsistencies #100

@simoncal-saas

Description

@simoncal-saas

In Book 2 Version 4.1.0, 3 July 2017, below console log has several inconsistencies compared with my own result, noted in bold:

Console log in section "Test the Application" after "Process_form Method":

Started POST "/contact" for ::1 at 2015-12-24 13:46:34 +0700
Processing by ContactsController#process_form as HTML as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"...",
"contact"=>{"name"=>"Daniel Kehoe", "email"=>"daniel@danielkehoe.com",
"content"=>"Looking forward to your birthday!"}, "commit"=>"Submit"} content s/b "hi" as below?
DEBUG: params are <ActionController::Parameters {"utf8"=>"✓",
"authenticity_token"=>"...", "contact"=>{"name"=>"Daniel Kehoe",
"email"=>"kehoe@fortuity.com", "content"=>"hi"}, "commit"=>"Submit", "content"=>"hi"
"controller"=>"contacts", "action"=>"process_form"} permitted: false>
Redirected to http://localhost:3000/
Completed 302 Found in 15ms (ActiveRecord: 0.0ms) Completed 200 OK in xxx ms

Explanations:

  • as HTML - not XML or some other markup as JS
  • Completed 302 Found - HTTP response status code 302 indicating a redirection Completed 200 OK
  • in 0ms - time required to process the request in xxxms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions