From: Naughty N. <nau...@gm...> - 2010-04-07 14:35:59
|
Strange thing happening here: Created a new class in a Ruby Cocoa app which connects to mysqlserver and reads a table. Works excellent in irb , but fails miserably in compiled Rubycocoa app after I establish connection with mysqlserver. Problem starts the moment I ask for data. As simple as fetching the avaiable tables (using Base.connection.tables) results in a strange error... uninitialized constant MysqlCompat::MysqlRes And asking a set of data (@rows = Tasks.find(:all) ) results in a nilclass error. (Although Task is defined as a valid activerecord class, otherwise it wouldn't work in irb!) Any ideas anyone? -- This signature is patented. |