search for: databasehandle

Displaying 3 results from an estimated 3 matches for "databasehandle".

2006 Aug 02
1
Ad-hoc database queries from models
...backend databases and want to know the best way to do it. It looks like doing something like this: >> require ''dbi'' => true >> conn = DBI.connect(''dbi:ODBC:mssqlserver'', ''username'', ''password'') => #<DBI::DatabaseHandle:0xb750bf58 @trace_mode=2, @handle=#<DBI::DBD::ODBC::Database:0xb750bea4 @attr={}, @handle=#<ODBC::Database:0xb750becc>>, @trace_output=#<IO:0xb7d35fec>> >> conn.select_one(''SELECT Subject FROM CASE WHERE CaseId = 12345678;'') => ["Test Case&quot...
2006 Jun 23
2
Include Text file in Dial Plan
Is there a way to include a search of a text file in the dial plan? I am trying to think of a good way to keep a sort of Blacklist file that is checked against before letting a call through. If the callerid is listed in the file, it will go to Hangup() -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Feb 29
17
Is SQL Server not supported in RoR on the Mac?
Hi -- I''ve been having problems connecting to a SQL Server database that I thought might be related to the fact I was upgrading Rails to 2.0. However, I also was moving the project to my shiny new macbook. Anyway, after jumping through a few hoops (instaling DBI, etc.), I finally get to my latest error message: <error> DBI::InterfaceError: Could not load driver (no such file to