Is there way to trace sql for certain object? For example: I would like to store i n db full sql query. @firm = Firm.find(all, :conditions => ["visible = ?", 1]) Is there method for @firm which gives me : "SELECT * FROM firms WHERE visible = 1" thx -- Posted via http://www.ruby-forum.com/.
Possibly Parallel Threads
- Select the rows in a dataframe that matches a criteria in another dataframe
- balanced panel data
- Single Table Inheritance
- Parsing a SQL file directly into activerecord::executemethod - Not a vamp I swear
- Parsing a SQL file directly into activerecord::execute method