search for: table_no_42

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

Did you mean: table_no_1
2006 Jan 26
0
If you want to disconnect a database properly, there is the code:)!!!
...TableAs.establish_connection(:adapter => "postgresql", :host => "9.8.7.5", :port => 5432, :database => "db2", :username => "dbuser2", :password => "dbuser2") GenTableAs.set_table_name "table_no_42" GenTableAs.reset_column_information() obj1 = GenTableAs.new @col2 = obj1.class.column_names() obj1["col12"] = 456 obj1["col34"] = "789" obj1.save obj1 = nil GenTableAs.clear_connection # here we disconnect again the connection It should...