1 我见过某处但不记得。如何从ActiveRecord对象获取SQL字符串?Rails activerecord to_sql_string? Client.find(1).to_sql_string 来源 2010-04-06 xpepermint