Skip to content

Commit f3e27b3

Browse files
matthewrudyjosh
authored andcommitted
fix the use of PP.pp for session display
- PP.pp(object) just outputs to standard out, and returns an IO object - thereby the email just said "* data: #<IO:0x1001b4aa8>" - use PP.pp(object, "") to output to the string instead
1 parent 6643929 commit f3e27b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
* session id: <%= raw @request.session['session_id'].inspect.html_safe %>
2-
* data: <%= raw PP.pp(@request.session.inspect.gsub(/\n/, "\n ").strip.html_safe) %>
2+
* data: <%= raw PP.pp(@request.session, "") %>

0 commit comments

Comments
 (0)