Debug: SQL generated by ActiveRecord Queries while in rails console.

Posted . Visible to the public.

while inside a binding.pry

ActiveRecord::Base.logger = Logger.new(STDOUT)
padi
Posted by padi to Dev (2013-06-10 03:03)