Rails activerecord to_sql_string?

Posted by pepernik on Stack Overflow See other posts from Stack Overflow or by pepernik
Published on 2010-04-06T17:32:17Z Indexed on 2010/04/06 17:33 UTC
Read the original article Hit count: 137

Filed under:
|
|

I've seen somewhere but can not remember. How to get an SQL from ActiveRecord object?

Client.find(1).to_sql_string

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about activerecord