| Message: 94237 |
 |
BY: Praveen Devarao (praveend) DATE: 2010-07-16 12:13 SUBJECT: RE: undefined method 'fetch_row' Hi Simon,
Not sure in what context is the question being asked.
If you meant how to specify that you are connecting to DB2 from Rails, you will need to mention ibm_db as the adapter being used in the database.yml [which you are already aware].
If you meant from the driver programming perspective, the IBM_DB.connect API should make it clear. http://rubyibm.rubyforge.org/docs/driver/2.0.0/doc/classes/IBM_DB.html#M000001
Is this what you are looking for or something else? Could you let me know the exact scenario in which you want to mention that you are connecting to DB2.
Thanks
Praveen | |