Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console log inconsistencies #100

Open
simoncal-saas opened this issue Jul 19, 2017 · 1 comment
Open

Console log inconsistencies #100

simoncal-saas opened this issue Jul 19, 2017 · 1 comment

Comments

@simoncal-saas
Copy link

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"=>"[email protected]",
"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"=>"[email protected]", "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
@DanielKehoe
Copy link
Member

Thanks for the report. I'll look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants