search for: genaclass

Displaying 1 result from an estimated 1 matches for "genaclass".

Did you mean: dendclass
2006 Jan 11
0
Connection problem with a generic-runtime-built ActiveRecord::Base
...names def readTableColumnNames return self.class.column_names() end end this how I use it: class GentestController < ApplicationController def index GenActRec.connectToPSQLDB("1.2.3.4", 5432, "gendb", "dbuser" ,"dbpwd" ) # test create genAClass = GenActRec.buildNewTableClass("GenTableAs","gen_table_as") @name = genAClass.name obj1 = genAClass.new @col1 = obj1.class.column_names() @removedConnection = GenActRec.closeConnection() # should be an error @col2 = obj1.class.column_names() end end Basicall...