Type l and paste the following filter. It will remove all html specfic elements from a capture session.
!(~ts "application/javascript") !(~ts "text/javascript") !(~ts "text/css") !(~ts "image/*") !(~ts "application/vnd.google.safebrowsing-*")
# Launch pry based interactive Rails console | |
$> pry -r ./config/environment.rb | |
# redirect Mongoid logging to console | |
pry(main)> Mongoid.logger = Logger.new($stdout) | |
# run a query | |
pry(main)> User.where(:username => "greg").first() | |
# Mongoid spits out the query, but, I actually want to see the raw Mongo query |