Skip to content

Instantly share code, notes, and snippets.

@amiel
Created March 3, 2011 20:57
Show Gist options
  • Save amiel/853544 to your computer and use it in GitHub Desktop.
Save amiel/853544 to your computer and use it in GitHub Desktop.
inspect the rack env without seeing too much
env.each do |key, value|
Rails.logger.error("#{key.inspect} => #{value.inspect}"[0..150])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment