daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jan 14th, 2018 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def email_from_session
  2.    if defined?(params[:session][:email])
  3.      params[:session][:email]
  4.    else
  5.      String.new
  6.    end
  7.   end
  8.   # params[:session][:email] || String.new returns nil, which I do not want
RAW Paste Data
Top