similar to: Automatically converted the table name to small letters!!

Displaying 20 results from an estimated 5000 matches similar to: "Automatically converted the table name to small letters!!"

2006 May 15
1
Does Anyone know how to set the table name as "CR_Country" ?
One issue is there in connecting one schema(table) "CR_Country" and "CR_Security" from this sybase Db. I have set false for pluralize_table_name and also setting the table name explicitly too as follow in the "environment.rb" : ====================================== ActiveRecord::Base.pluralize_table_names = false class CR_Country < ActiveRecord::Base
2006 May 15
2
retrieving hashes key & values (ASAP)
Hi, I want to retrieve the set of key & values which returns from a stored procedure : connection.select_all "exec common.dbo.scr_lookupric ''AAP.N'' ". The results i want to display in a view screen call result.rhtml. Please help me out ASAP. Thanks in advance. joshua... -- Posted via http://www.ruby-forum.com/.
2006 Mar 03
0
AR::Base.pluralize_table_names doesnt work with scaffold generator, right?
Hi! The script/generator scaffold for models doesnt respect (source in) this config/environment.rb setup, right? Because I can put in there ActiveRecord::Base.pluralize_table_names = false but when I run a command like ruby script/generate scaffold model Something then it throws an error saying that my database scheme doesnt have a Something. However there is a table called something. If I
2009 Aug 28
0
Error connecting to Sybase (odd)
I have activerecord-sybase-adapter installed -- and Sybase itself, so I have the drivers. In irb or in the rails console, this works: ActiveRecord::Base.establish_connection( :adapter => “sybase”, :database => “mydb”, :host => “myhost”, :myport => myport, :username => “read_only”, :password => “read_only”) In Rails, I have this in my database.yml: pacs: adapter: sybase
2006 May 11
4
Legacy database problem
Hi I am trying to use Ruby on Rails to work with an existing database. The problem is that, all the table names begin with a captial letter (e.g. Products). So I did the following changes in environment.rb, I''ve added under # Include your application configuration below ActiveRecord::Base.pluralize_table_names = false In class Product, I''ve added set_table_name
2006 Aug 01
1
Legacy Pluralized Table Names
I am connecting to a legacy DB that has some names plural and some not. I have configured: ActiveRecord::Base.pluralize_table_names = false now when i make a table that has an s on the end, it truncates the s. example: Table name: foo_bars Rails command: ruby script/generate FooBars Response (localhost:3000/FooBars): uninitialized constant FooBar It works fine with non-pluralized
2006 Jan 26
3
Problems with simple scaffold code
Hi all, I had scaffold generate some code on a brand new app the trace is here: http://rafb.net/paste/results/H87GHC68.html Could you point me to what problem needs to be fixed please as i''ve been banging my head against this for some time now? The table is very simple and its called "user" with id, email, password fields. I''ve set pluralize_table_names to false
2006 Jun 03
1
legacy support: removing underscore from table name.
I am using ms sql server and want to configure RoR such that it does not convert the given table name (example: rubyonrails) to ruby_on_rails. I set @@pluralize_table_names = false, so that it does not pluralize the table names but cannot find the config setting which will force it not to put underscore between words in a table name. thanks in advance, -- avinash -- Posted via
2009 Feb 10
1
need help with installRExcel()
Struggled a whole day, but still could not get DCOM working on my machine. What I did is: 1. Installed R 2.8.1 under folder "../R/R-2.8.1" 2. Installed R_Scilab_DCOM3.0-1B5 under folder ".. \R\(D)COM Server" 3. Installed packages: rscproxy_1.0-12, RExcelInstaller_3.0-10, rcom_2.0-4... 4. run the following commands: library(rscproxy) library(rcom)
2002 Oct 22
0
dyn.load()
Dear R-help, I am trying to use routines written in C and Embedded SQL on Sybase in R using dyn.load(). I compiled a couple of test functions into a .so file which I tried to load with R's dynl.load(). This is what happened: > dyn.load("libRClib.so") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2008 Oct 06
1
python-sybase on Centos 5 x86_64
Installed the freetds rpms from centos-extras, also tried the ones in rpmforge http://mirror.centos.org/centos/5/extras/x86_64/RPMS/freetds-0.64-11.el5.centos.x86_64.rpm http://mirror.centos.org/centos/5/extras/x86_64/RPMS/freetds-devel-0.64-11.el5.centos.x86_64.rpm Compiled python-sybase-0.39 by hand, and also via rpm.
2003 Jul 11
4
module : cdr_sybase.so
If anyone is interested ... just in case! :-)... I have tried to write , based on the cdr_mysql.so module, an Sybase module. To compile you can use something like that: export SYBPLATFORM=linux export SYBASE=/opt/sybase cc -I$SYBASE/include -c -o cdr_sybase.o cdr_sybase.c cc -shared -Xlinker -x -o cdr_sybase.so cdr_sybase.o -lsybdb -lm -L$SYBASE/lib (anyone could write the corect Makefile
2009 Mar 17
3
Disabel "pluralize_table_names" in Rails 2.3.2
What is it in Rails 2.3.2? ActiveRecord::Base.pluralize_table_names = false -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe
2014 Nov 05
0
why RODBC on windows 7 with Sybase, returns garbage?
Hi James, Is your server name correct in the string below? Looks like you are using incorrect server name. If you don't give full server name, then the server has to be registered with ODBC management tool so that it can be picked up automatically. Regards, Alok From: James Mathew [via R] [mailto:ml-node+s789695n4699208h81 at n4.nabble.com] Sent: Wednesday, November 05, 2014 5:04 AM To:
2012 Jul 30
1
why querying Sybase IQ using RODBC returns error ?
Hello, I am not able to query Sybase IQ database from R using RODBC package. Check the below code R> sybaseiq.query <- function (sql, ..., as.is = FALSE) { connstr <- "Driver={Sybase IQ};UID=ajadhav2;PWD=*****;ServerName=PSGSESHR01A_IQ;CommLinks=SharedMemory,TCPIP{host=psgseshr01_iq.sg.csfb.com;port=3051}" chan <- odbcDriverConnect(connstr)
2010 Apr 28
1
Trying to get Rails working with Sybase ASE
Hi I''m trying to use the activerecord-sybase-adapter to be able to use ASE with my rails applications. But, I am struggling... I followed (most of) the steps on this informative page: http://trevoke.net/blog/2009/09/11/connecting-to-sybase-with-rails-on-windows-xp/ Initially I had Rails 2.3.5 installed. I copied the "Ruby Sybase files" as instructed and the Sybase dll files
2006 Nov 09
5
Build sybase adapter on winxp with eclipse/cdt
Hi folks, I try to get the sybase adapter installed. I downloaded the sybase-ctlib from here: http://raa.ruby-lang.org/project/sybase-ctlib and now want to build the stuff on my winxp machine somehow. I decided to eclipse/cdt and downloaded mingw32-make, gdp and gcc. I created a new project and imported the sybase-ctlib sources. With the extconf.rb I created the makefile and after cleaning up some
2003 Dec 18
1
R and Sybase
Hi, I'm trying to get R connected to Sybase on a Linux machine. I'm relatively new to databases, particularly the connectivity side. Do I have to use RODBC and install ODBC support on the system (a huge pain with Sybase, as you have to install a scaled-down version of Sybase itself on the system to get it to work with ODBC), or can I somehow use DBI to do it. Other processes on the
2009 Sep 08
2
Rails + Sybase ASE : group effort, please
Here''s what I have: Ruby 1.8.7 Rails 2.3.3 (activerecord 2.3.3, etc) activerecord-sybase-adapter ( http://itsignals.cascadia.com.au/?p=23 ) Here is the base code (login info was changed to protect me) require ''rubygems'' require ''activerecord'' a = ActiveRecord::Base.establish_connection( :adapter => "sybase", :host =>
2001 Aug 29
1
kupdated, bdflush and kjournald stuck in D state on RAID1 device (deadlock?)
(Sent to linux-raid, linux-kernel and ext3-users since I'm not sure what type of issue this is) I've got a test system here running Redhat 7.1 + stock 2.4.9 with these patches: http://www.fys.uio.no/~trondmy/src/2.4.9/linux-2.4.9-NFS_ALL.dif http://www.zip.com.au/~akpm/ext3-2.4-0.9.6-249.gz http://domsch.com/linux/aacraid/linux-2.4.9-aacraid-20010816.patch All three patches applied