Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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


Thread View

Thread Author Date
undefined method 'fetch_row'Simon Macneall2010-07-16 08:30
      RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 08:59
            RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 09:21
                  RE: undefined method 'fetch_row'Simon Macneall2010-07-16 11:13
                        RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 12:13
                              RE: undefined method 'fetch_row'Simon Macneall2010-07-16 12:21
                                    RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 12:31
                                          RE: undefined method 'fetch_row'Simon Macneall2010-07-16 12:33

Post a followup to this message