Skip to content

Instantly share code, notes, and snippets.

@joshukraine
Created December 15, 2013 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshukraine/7975914 to your computer and use it in GitHub Desktop.
Save joshukraine/7975914 to your computer and use it in GitHub Desktop.
in Safari
# Now in Safari. Start on homepage, enter invalid input. Flash is displayed
Started GET "/students/search?utf8=%E2%9C%93&search=asfsdf&submit=%EF%80%82" for 127.0.0.1 at 2013-12-15 18:33:01 +0200
Processing by StudentsController#search as HTML
Parameters: {"utf8"=>"✓", "search"=>"asfsdf", "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:0x007fa2d053d5e8>
@@@@ session: {"session_id"=>"996952e20fbf975af7a4396f8a3aa7da", "_csrf_token"=>"EwfOi3Ny0GDZXOIeHwG7NHcwbwr3WR2c6qPk6zSHRNU=", "return_to"=>"http://localhost:3000/"}
@@@@ request.referer: http://localhost:3000/
Redirected to http://localhost:3000/
Completed 302 Found in 3.9ms (ActiveRecord: 0.4ms)
Started GET "/" for 127.0.0.1 at 2013-12-15 18:33:01 +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:0x007fa2d05d6900>
@@@@ session: {"session_id"=>"996952e20fbf975af7a4396f8a3aa7da", "_csrf_token"=>"EwfOi3Ny0GDZXOIeHwG7NHcwbwr3WR2c6qPk6zSHRNU=", "flash"=>#<ActionDispatch::Flash::FlashHash:0x007fa2d05d6900 @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 (1.9ms)
Rendered layouts/_sidenav.html.erb (0.9ms)
Completed 200 OK in 18.7ms (Views: 15.7ms | ActiveRecord: 0.4ms)
# Click link to go back to home page, flash sticks.
Started GET "/" for 127.0.0.1 at 2013-12-15 18:34:20 +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:0x007fa2d048f240>
@@@@ session: {"session_id"=>"996952e20fbf975af7a4396f8a3aa7da", "_csrf_token"=>"EwfOi3Ny0GDZXOIeHwG7NHcwbwr3WR2c6qPk6zSHRNU=", "flash"=>#<ActionDispatch::Flash::FlashHash:0x007fa2d048f240 @used=#<Set: {}>, @closed=false, @flashes={}, @now=nil>}
@@@@ request.referer:
Rendered pages/home.html.erb within layouts/application (0.0ms)
Rendered layouts/_top-nav.html.erb (1.8ms)
Rendered layouts/_sidenav.html.erb (0.9ms)
Completed 200 OK in 16.6ms (Views: 13.7ms | ActiveRecord: 0.4ms)
# Click browser bookmark which points to http://localhost:3000/ Flash clears.
Started GET "/" for 127.0.0.1 at 2013-12-15 18:35:07 +0200
Processing by PagesController#home as HTML
Coach Load (0.3ms) SELECT "coaches".* FROM "coaches" WHERE "coaches"."remember_token" = 'qnT_bGpti6JLWWLtFaM7DA' ORDER BY coaches.created_at ASC LIMIT 1
@@@@ flash: #<ActionDispatch::Flash::FlashHash:0x007fa2d07a4a98>
@@@@ session: {"session_id"=>"996952e20fbf975af7a4396f8a3aa7da", "_csrf_token"=>"EwfOi3Ny0GDZXOIeHwG7NHcwbwr3WR2c6qPk6zSHRNU="}
@@@@ request.referer:
Rendered pages/home.html.erb within layouts/application (0.0ms)
Rendered layouts/_top-nav.html.erb (1.9ms)
Rendered layouts/_sidenav.html.erb (0.9ms)
Completed 200 OK in 62.9ms (Views: 14.4ms | ActiveRecord: 0.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment