Displaying 20 results from an estimated 11000 matches similar to: "ODBC adapter connection help please."
2006 Mar 21
8
AS/400?
Any success stories using rails against a DB2 database on an as400?
If so, how?
Thanks
Ed Schechter
--
Posted via http://www.ruby-forum.com/.
2006 May 29
3
is Sql Server support built in?
Have installed ruby-one-click installer 1.8.4-16 and rails. Am unable to
get an app to talk to by SS2000 database using adapter: sqlserver. Is Sql
Server support built-in, or do I need to install something else?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment
2006 Feb 16
2
How do I use ODBC with rails.
I have an app that needs to retreive data through an ODBC connection on a
windows platform. Has anyone done this? Would someone be able to walk me
through it? or point me to the relavant docs. My searches haven''t turned up
any usefull information so far.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
2005 Dec 30
5
Rails using DB2
Hello,
I have been trying to connect a Rails application to DB2 database.
Based on information found on the web it doesn''t seem to be possible.
Can some confirm the state of DB2 support with Rails?
Thanks for you help,
David
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Dec 29
6
How do I open and read/write to a file?
I need to process some text files quickly. I''ve not been able to find the
answer in the archive. The Ruby Standard Library site times out. Can
someone tell me where to find info on how to:
1. Get a list of filenames in a directory.
2. How to open a file.
3. How to read it a line at a time.
--
Thanks in advance for the help,
-Larry
"Work, work, work...there is no satisfactory
2006 Jan 27
2
Multiple database read
I have to extract data from an odbc connection to another database and put
into a MySQL database so that my rails app can manipulate it. What would be
the best way to set that up? Would I put the connection info in a
controller, so that the controller method with open and close the
connection? Any thought?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory
2007 Jun 14
2
connecting to DB2 database
Hi,
i am trying to connect to a DB2 server using the DBI library.
getData <- function()
{
driver <- dbDriver("DB2")
conn <- dbConnect(driver,"server","uname","pword")
data <- dbSendquery(conn, "select etc.")
}
When I run the function, i get the error
> data <- getData()
Error in
2006 May 22
4
naming convention for bridge tables.
I read somewhere that the correct naming of bridge tables is in alpha order.
For example. I have two tables:
houses, and colors.
If I want to create a bridge table to associate colors with houses, I would
name the table:
colors_houses
The associations work fine.
But, if I have a table named: track_houses.
Building a bridge table called: colors_track_houses, gives me model
associaton errors.
2006 Jul 17
6
Has markaby been abandoned?
Recently discovered Markaby. Before I use it on a production system, I''d
like to know if it is still being maintained? According to the change log,
the last change was in February of 2006. Does this mean that the project has
been abandoned? Or, at version 0.3 it was considered production stable and
complete?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
2006 Mar 20
8
Best way to organize non-controller logic???
I don''t want to put certain code in my controller because I think it
makes things more confusing.
What is the best way to manage business logic such that it doesn''t end
up in the controller?
Basically, where should I put my regular utility classes and backing
objects that may not be models?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5.
Installed Ruby 1.8.4.
Installed rubygems.
Installed rails.
Created test app to verify that ruby and rails were working.
When I attempted to install mongrel via:
sudo gem install mongrel
I get this error:
Install required dependency daemons? [Yn] y
Install required dependency gem_plugin? [Yn] y
Building native extensions. This could take a while...
can''t find
2006 Feb 03
6
Rails from the command line
I have controller that processes data in one table and puts results in
another. Now that its'' working, I would like to be able to run it from the
command line ( read: windows batch file). How can this be done?
It will be installed on a Windows box with InstantRails1.0, (if that
matters).
I will be doing more processes like this, so this is a good opportunity to
get it right.
--
Best
2003 Aug 13
1
How do i configure so an incoming call triggers an http request?
Hi all,
I'm about to start setting up my first asterisk/cti system in our test lab.
I've read through all the documentation I can find and relevant posts in the
list archives but can't seem to find anything explaining how to go about
initiating an http request upon an incoming call.
I basically want asterisk to request an uri on our intranet, which will pass
call details to our
2006 Mar 19
1
Ruby startup slow on Windows Server 2003
Ruby script/console takes 30-secs to start on the Windows 2003 servers in
our shop. Has anyone found a way to speed that up? ( I know Linux is much
faster, but that''s not an option, in this case).
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment was
2006 Jul 12
4
error when using plugin discover
When I run ./script/plugin discover to register new plugin sites I get
stopped at this point with the following error.
...
http://svn.northpub.com/plugins/
http://rhnh.svnrepository.com/svn/public/rails/plugins/
(eval):3:in `each'': undefined method `[]'' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:658:in
2006 Jun 15
6
[OT] Tables VS divs for form layout.
I''ve been using tables to get my forms to line up. ( I have usually one
column for labels, and a column for values ). Should I be using divs
instead? I''ve been reading some CSS design books lately. They tend to
recommend divs over tables for general page layout stuff. But, what about
the forms elements? What''s the ''best practice'' in this regard?
2006 Apr 28
6
[OT] Ruby ftp client for windows
I know this is off topic, But, my boss has tasked me with finding a better
ftp client than the one in Windows XP. Is there a Ruby client that can
recover dropped connections, ( a resume feature)? Would be nice if it could
handle secure/ encrypted transmissions as well?
Failing that, can anyone recommend a good scriptable ftp client for the
Windows plaftorm?
--
Best Regards,
-Larry
"Work,
2006 Feb 08
1
Possible AGI Bug in Asterisk?
Dear All,
I seem to have stumbled across an AGI problem;
I have written an AGI Script (bottom of this email);
The script does the following;
Makes a CDR entry when called
Records the call
Updates the CDR
Finds a corresponding DNIS from the SMDR table (captured via a serial
port logger)
Matches up the record and updates the CDR.
The script works perfectly in my test lab and has been doing so
2008 Feb 11
9
Storeconfigs purge Perl
Here''s some happy-fun Perl to make your storeconfig/virtual resources day better. I probably should have written this in Ruby, but perl comes naturally :)
#!/usr/bin/perl
#
# Perl DBI to remove all related entries from Puppet''s storeconfigs database.
# Use when a host is removed from the Puppet network forcibly
# Alternatives: run puppet on host to be removed with a blank