And at work? Ah, it was a good day at work.
I was able to get down deep and spend some quality time with a problem that's been waiting for my attention for a few weeks. I started with this
And things clicked and much progress was made and it was good.
![](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_utn0Tewtozgj_feTTNWj-9K5CFxaHrx-vSDGJsZkFyN3XCDNd59Z0FwYuPVQqCv0hIsM_Oyi5oEMUgqzDCoMB62gX8Q7lt9vHE73nQZ1wTYYfvaxAX8VogF823VP_A3JsRi0vael_ONSTexgM=s0-d)
I was able to get down deep and spend some quality time with a problem that's been waiting for my attention for a few weeks. I started with this
require 'dbi'
db = DBI.connect('dbi:ODBC:servername', 'loginid', 'password')
select= db.prepare('SELECT field1 FROM table')
select.execute
while rec = select.fetch do
puts rec.to_s
end
And things clicked and much progress was made and it was good.