hello,
does anyone know of any modules that would allow me to "prepare" sql
strings? something similar to perl's DBI::quote?
thanks
konstantin
hello,
does anyone know of any modules that would allow me to "prepare" sql
strings? something similar to perl's DBI::quote?
thanks
konstantin
ActiveRecord::Base has 'quote' and 'sanitize' methods, among others.
ako... wrote:
hello,
does anyone know of any modules that would allow me to "prepare" sql
strings? something similar to perl's DBI::quote?thanks
konstantin
does anyone know of any modules that would allow me to "prepare" sql
strings? something similar to perl's DBI::quote?
Did you check out ruby-dbi?
http://ruby-dbi.sourceforge.net/
Caleb
Yes. DBI#quote.
-austin
On 12/5/05, ako... <akonsu@gmail.com> wrote:
does anyone know of any modules that would allow me to "prepare" sql
strings? something similar to perl's DBI::quote?
--
Austin Ziegler * halostatue@gmail.com
* Alternate: austin@halostatue.ca
thanks. is this a part of rails?
ActiveRecord can be used with or without rails. It is in rails by
default, of course.
Below is an article on how to use it without rails:
http://wiki.rubyonrails.com/rails/pages/HowToUseActiveRecordOutsideRails
On 12/5/05, ako... <akonsu@gmail.com> wrote:
thanks. is this a part of rails?