Created
December 15, 2013 17:50
-
-
Save joshukraine/7975903 to your computer and use it in GitHub Desktop.
in Chrome...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In Chrome, start on home page, enter invalid input. Flash is displayed | |
Started GET "/students/search?utf8=%E2%9C%93&search=asdf&submit=%EF%80%82" for 127.0.0.1 at 2013-12-15 18:31:12 +0200 | |
Processing by StudentsController#search as HTML | |
Parameters: {"utf8"=>"✓", "search"=>"asdf", "submit"=>"?"} | |
Coach Load (0.4ms) SELECT "coaches".* FROM "coaches" WHERE "coaches"."remember_token" = 'qnT_bGpti6JLWWLtFaM7DA' ORDER BY coaches.created_at ASC LIMIT 1 | |
@@@@ flash: #<ActionDispatch::Flash::FlashHash:0x007fa2cda87290> | |
@@@@ session: {"session_id"=>"0d3e2d6679ba059a32fda992098d76bb", "_csrf_token"=>"FCi64KNpqW1ty7YTNibievP8VlmVm/PnGxWtNp0ylBM=", "return_to"=>"http://localhost:3000/"} | |
@@@@ request.referer: http://localhost:3000/ | |
Redirected to http://localhost:3000/ | |
Completed 302 Found in 4.1ms (ActiveRecord: 0.4ms) | |
Started GET "/" for 127.0.0.1 at 2013-12-15 18:31:12 +0200 | |
Processing by PagesController#home as HTML | |
Coach Load (0.4ms) SELECT "coaches".* FROM "coaches" WHERE "coaches"."remember_token" = 'qnT_bGpti6JLWWLtFaM7DA' ORDER BY coaches.created_at ASC LIMIT 1 | |
@@@@ flash: #<ActionDispatch::Flash::FlashHash:0x007fa2d032cd08> | |
@@@@ session: {"session_id"=>"0d3e2d6679ba059a32fda992098d76bb", "_csrf_token"=>"FCi64KNpqW1ty7YTNibievP8VlmVm/PnGxWtNp0ylBM=", "flash"=>#<ActionDispatch::Flash::FlashHash:0x007fa2d032cd08 @used=#<Set: {:error}>, @closed=false, @flashes={:error=>"<i class=\"fa fa-times fa-fw\"></i> Please enter a numeric student ID."}, @now=nil>} | |
@@@@ request.referer: http://localhost:3000/ | |
Rendered pages/home.html.erb within layouts/application (0.0ms) | |
Rendered layouts/_top-nav.html.erb (2.0ms) | |
Rendered layouts/_sidenav.html.erb (1.2ms) | |
Completed 200 OK in 19.4ms (Views: 16.2ms | ActiveRecord: 0.4ms) | |
# Click link to go back to home page, flash clears. | |
Started GET "/" for 127.0.0.1 at 2013-12-15 18:32:17 +0200 | |
Processing by PagesController#home as HTML | |
Coach Load (0.4ms) SELECT "coaches".* FROM "coaches" WHERE "coaches"."remember_token" = 'qnT_bGpti6JLWWLtFaM7DA' ORDER BY coaches.created_at ASC LIMIT 1 | |
@@@@ flash: #<ActionDispatch::Flash::FlashHash:0x007fa2d03d7ac8> | |
@@@@ session: {"session_id"=>"0d3e2d6679ba059a32fda992098d76bb", "_csrf_token"=>"FCi64KNpqW1ty7YTNibievP8VlmVm/PnGxWtNp0ylBM=", "flash"=>#<ActionDispatch::Flash::FlashHash:0x007fa2d03d7ac8 @used=#<Set: {}>, @closed=false, @flashes={}, @now=nil>} | |
@@@@ request.referer: http://localhost:3000/ | |
Rendered pages/home.html.erb within layouts/application (0.1ms) | |
Rendered layouts/_top-nav.html.erb (1.9ms) | |
Rendered layouts/_sidenav.html.erb (1.0ms) | |
Completed 200 OK in 66.8ms (Views: 16.6ms | ActiveRecord: 0.4ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment