Newbie Mixed Bag

(Kroeger Simon (ext)) #1

Welcome,

to answer just a few:

1) Is win32 good-enough for learning Ruby on? I have other
machines (XP,
OSX) but the win98se machine is my workhorse (being a slim
VAIO notebook
it lives on the kitchen table).

I realy think so...

4) Noting Q1, what's the best/easiest/quickest route to ODBC access?

using the one-click installer (1.8.2) I was able to do somethink like:

···

------------------------------------------------------------------
require 'dbi'

DBI.connect("DBI:ODBC:driver=Microsoft Access Driver (*.mdb);"+
    "dbq=C:/path/to/my/db.mdb") do |dbh|

    dbh.select_all('select * from myTable') {|row| p row}
end
------------------------------------------------------------------

cheers

Simon