I want to check the value of env[:clearance]
to see why something is broken.
How can I do this. I tried puts
:
config.user.current = Proc.new { env[:clearance].current_user }
puts "ENV[:CLEARANCE]: #{env[:clearance]}"
but that gets: undefined local variable or method
env' for main:Object (NameError)`
How can I get some visibility into the env
hash in this situation? BTW this is loosely related to the Clearance gem.