PHP's PDO::prepare-like method. Prepares an SQL statement to be executed by exec_* methods of Rails' ActiveRecord.