ActiveRecord trace sql

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