Displaying 1 result from an estimated 1 matches for "dbuser1".
Did you mean:
dbuser
2006 Jan 26
0
If you want to disconnect a database properly, there is the code:)!!!
...tiveRecord::base class
end
For the tests, we have used the following code:
# first connection
GenTableAs.establish_connection(:adapter =>
"postgresql",
:host => "1.2.3.4",
:port => 5432,
:database => "db1",
:username => "dbuser1",
:password => "dbuser1")
GenTableAs.set_table_name ''table_no_1''
GenTableAs.reset_column_information()
obj1 = GenTableAs.new
@col1 = obj1.class.column_names()
obj1["colaa"] = 123
obj1["colab"] = "123"...