title: to_sql not working on update_attributes or .save
body: <p>I'm looking for a way to store the sql string that is generated in an update or create action. I've tried appending <code>.to_sql</code> to the end of <code>update_attributes</code> but it returns a <code>TrueClass</code> error (or something like that). Is there something that I am missing?</p>