Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Ruby DBI
Jim Clark
12/24/2007 7:32:00 PM
Praveen Ray wrote:
> Hi
> What's the best way to do raw SQL in Ruby? Something like Perl's DBI.
> I see there is a Ruby DBI <
http://rubyforge.org/projects/rub...
> but it seems in beta. Can one use ActiveRecord to run arbitrary SQL
> statements? I'm not really interested in a full-fledged ORM - just a
> way to run SQL succinctly and easily.
>
> Thanks
I think you'll find that Ruby's DBI works very well and you should give
it a try, especially if you don't want the overhead of Rails. I've used
it a couple of times and found it to be very easy having used Perl's DBI
for many years. Feel free to post your script and any problems if you
need further help.
Regards,
Jim
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Ruby DBI
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password