Retrieve blob field

Hi

I saved a text into blob column in mysql table
How I can I retrieve it as a text
I use this lines:

res = db.query(squery)

if (res.num_rows != 0) then
res.each do |row|
text = row[0].to_s
end
end