title: Retrieve raw SQL executed by active_record methods not responding to to_sql
body: <p>I am trying to find a way to retrieve the raw SQL executed by active-record methods that are directly executing the query and don't respond to <code>to_sql</code>.
  For instance <code>find, find_by, take, pluck</code> cant be chained with the <code>to_sql</code> method.</p>
  
  <p>How can I achieve that ?</p>