From: Travis D Warlick Jr Date: 2007-07-09T21:58:13+09:00 Subject: Re: Ruby-MySql error swanand deodhar wrote: > Hi! > I was doing some really really simple stuff with Ruby DBI... > > new_conn = DBI.connect("DBI:Mysql:test:localhost", "root", "pwd") > new_conn.tables.each do |table| > new_conn.columns(table).each do |columninfo| > print columninfo['name'] > end > end > > and strangely enough i am encountering this error: > > Mysql.rb:662 > `column_info': undefined method `is_not_null?' for # > > Any ideas or has anyone encountered this kind of an error before? 2 Things: 1) Where did you get your Mysql driver? (eg. ActiveRecord gem, from MySQL.com, etc) 2) Please post the entire exception trace. - ************************************* * Travis D Warlick, Jr * Lead Developer * Operis Systems, LLC *************************************