Displaying 2 results from an estimated 2 matches for "connected1".
Did you mean:
connected
2006 Jan 13
1
How to disconnect to a database????
...plicationController
def index
GenTableAs.establish_connection(:adapter =>
"postgresql",
:host => "1.2.3.4",
:port => 5432,
:database => "gendb",
:username => "dbuser",
:password => "dbuser")
@connected1 = GenTableAs.connection()
@removedConnection = GenTableAs.remove_connection()
@connected2 = GenTableAs.connection() # should be
nil here
obj1 = GenTableAs.new
obj1["colaa"] = 100
obj1["colab"] = "100"
obj1.save # should have raised exception or error
her...
2006 Jan 05
7
HOWTO: Combine fields from 2 two tables in 1 object
Hi all,
For a dropdownlist (showing "Company - FirstName Lastname'') I want to fill an
object @project_contacts with "Name" from table Companies and "Firstname" and
"Lastname" from table contacts. Any idea?
Regards,
Gerard.
--
"Who cares if it doesn''t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS