Hello, I have been trying to connect a Rails application to DB2 database. Based on information found on the web it doesn''t seem to be possible. Can some confirm the state of DB2 support with Rails? Thanks for you help, David _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 12/30/05, David Bonnecaze <DavidB-r3q9/YBoLTaQWJg4h4+abw@public.gmane.org> wrote:> > Hello, > > I have been trying to connect a Rails application to DB2 database. Based on > information found on the web it doesn''t seem to be possible. Can some > confirm the state of DB2 support with Rails?Have you read this page? http://wiki.rubyonrails.com/rails/pages/IBM+DB2 It should work; looks like the unit tests pass. That being said, I haven''t heard of any sites actually using. Presumably somebody is, though, or else it wouldn''t be in Rails.
That was the first page I went to. Will go back and give it another try. I guess we need to compile the C the adapter our selves. Thanks for responding. -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Wilson Bilkovich Sent: Friday, December 30, 2005 2:32 PM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails] Rails using DB2 On 12/30/05, David Bonnecaze <DavidB-r3q9/YBoLTaQWJg4h4+abw@public.gmane.org> wrote:> > Hello, > > I have been trying to connect a Rails application to DB2 database.Based on> information found on the web it doesn''t seem to be possible. Can some > confirm the state of DB2 support with Rails?Have you read this page? http://wiki.rubyonrails.com/rails/pages/IBM+DB2 It should work; looks like the unit tests pass. That being said, I haven''t heard of any sites actually using. Presumably somebody is, though, or else it wouldn''t be in Rails. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
David Bonnecaze <DavidB@...> writes:> On 12/30/05, David Bonnecaze <DavidB@...> wrote: > > > > Hello, > > > > I have been trying to connect a Rails application to DB2 database. > Based on > > information found on the web it doesn''t seem to be possible. Can some > > confirm the state of DB2 support with Rails?Hi David, As of right now DB2 doesn''t work. Or at least doesn''t work without some hacking and compromises. The good news is it''s being worked on and great progress has been made. There are a few people who have run into these problems with DB2 but no one ever communicated that information to the Rails guys, or Maik Schmidt (the DB2 Adapter author) until I started whining about it! :-) Cheers, John
Is there an update to the DB2 support options? There''s a DB2 database that I''d like to talk to. -Larry On 1/1/06, John Gibbons <john-rails@dashing.com> wrote:> > > David Bonnecaze <DavidB@...> writes: > > > > On 12/30/05, David Bonnecaze <DavidB@...> wrote: > > > > > > Hello, > > > > > > I have been trying to connect a Rails application to DB2 database. > > Based on > > > information found on the web it doesn''t seem to be possible. Can some > > > confirm the state of DB2 support with Rails? > > Hi David, > > As of right now DB2 doesn''t work. Or at least doesn''t work without some > hacking and compromises. > The good news is it''s being worked on and great progress has been made. > There are a few people who > have run into these problems with DB2 but no one ever communicated that > information to the Rails > guys, or Maik Schmidt (the DB2 Adapter author) until I started whining > about it! :-) > > Cheers, > John > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060209/ace5d16c/attachment.html
On 2/9/06, Larry Kelly <larry@tellinkltd.com> wrote:> Is there an update to the DB2 support options?DB2 has worked for me. There are some issues building under Win32 and regardless you need to have installed db2cli interface (see the dbi project on rubyforge). I also had issues until I switched to edge rails. The last remaining issue is the current adapter (as of a week or two ago), was a little crude in handling different types so it is important to do: row = Table.find 1 and not row = Table.find ''1'' Good luck pth p.s. check my blog for some information concerning building db2cli under win32 -- http://blog.hurleyhome.com/