search for: last_sql

Displaying 1 result from an estimated 1 matches for "last_sql".

Did you mean: last_sq
2006 Apr 20
5
How to find the last SQL statement executed in ActiveRecord
Is there a method for retrieving the last SQL statement executed by ActiveRecord? I realize I can open the log file, but I''m looking for a programmatic way. -- Posted via http://www.ruby-forum.com/.