Forum: Ruby-Gnome 2 displaying database

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C973d9166618c43be1277f8187770921?d=identicon&s=25 Mathias D. (mathid)
on 2012-09-22 22:06
HI, I'm new to Gtk and need to know how I can display a table from query
a database. I am using Glade to build the GUI.
Any information is welcome

8f29b6be98e5214cc7784cf2229b5464?d=identicon&s=25 Grant S. (matobinder)
on 2012-09-24 17:42
So this really isn't a Gtk question too much, unless your asking how to
display them. As for getting the data out of the DB/

What type of database? I use the oci8 gem for Oracle DBs.

It very simple to use. Just use that to grab the data you are looking
for and then display it in your GUI however you want.
C37e335e7250698ebcc8a092a4baded3?d=identicon&s=25 Eric C. (eric_c)
on 2012-11-12 08:56
Hi Mathid:

Typically rubyists use ActiveRecord to use databases.  I would urge you
to look at this video that shows a really easy way to display records
from any database in a listbox:

This topic is locked and can not be replied to.