<% user = User.find @request.session['user_id'] %>
<%= raw user.inspect if user %>

<% user = User.find user_id if user_id = @request.session['user_id'] %>
<%= user ? "%s (%s) <%s>" % [user.name, user.username, user.email] : 'None' %>

Make it work if there is no user logged in, and make the format less revealing.
Make it work if there is no user logged in, and make the format less revealing.
