On Jul 22, 9:16 am, kronos <ikro...@mail.ru> wrote:
> It is knows that Ruby mysql driver supports prepared statements.
> Why do not active record adapters support them? Is there any reason
> for it?

Well, ActiveRecord sort of *does* support prepared statements, in the
sense that parameterized queries are a type of prepared statement, and
ActiveRecord uses parameterized queries.  Are you looking for
precompiled prepared statements?  If so, perhaps stored procedures
would be the way to go (although mySQL's procedural language sucks)?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to