On May 14, 7:15 pm, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > Nicely done! But am I to understand StatementBuilder code is going to > replace (cleanup) all the string hacks currently involved in building SQL > queries? Will the usage of prepared statements in MySQL/PostgreSQL become > implicit with this?
Thanks. :) The use of prepared statements in MySQL/PostgreSQL will completely replace the argument escaping stuff. Database adapters that don't support prepared statements (or haven't implemented support yet) will silently fallback to argument escaping, as is done now. > Also, did you follow the "ActiveRecord refactoring" > thread [1]? Did Zach [2][3] really do it? > > [1]http://groups.google.com/group/rubyonrails-core/browse_thread/thread/... > [2]http://www.continuousthinking.com/ > [3]http://groups.google.com/groups/profile?enc_user=WZYiNRUAAADUiWRahsdn... I didn't follow any of these threads, but I have read the ActiveRecord::Extensions website in the past. This prepared statements support is entirely my own work, and is not related to Zach's work. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
