Displaying 8 results from an estimated 8 matches for "define_a_column".
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
...e] mod_fcgid: call /export/home/invido/invido/portal2/public/
dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
invido/portal2/public/dispatch.fcgi
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/connection_adapters/oracle_adapter.rb:536: undefined
method `define_a_column'' for class `OCI8::Cursor'' (NameError)
...
=========================
Looking around, I got a lot of hits pointing to environment settings
(LD_LIBRARY_PATH, etc.), for example:
http://dev.rubyonrails.org/ticket/1027
However, none of this had any effect and in any case this seems l...
2009 Mar 22
3
undefined method 'define_a_column' for class 'OCI8::Cursor'
Hello. Tired of searching and finding nothing useful.
Moving application to laptop for trip.
Installed:
- Ruby (1.8.6, patchlevel 111)
- Rails (2.2.2)
- Oracle adapter (1.0.0.9250)
- ruby-oci8 (2.0.1)
- Oracle 10g Express Edition
database.yml:
development:
adapter: oracle
etc...
When I start Mongrel (ruby script/server) I get the error above. I''ve
looked everywhere I can think of.
2007 Jan 25
0
oci8 problems
...active record adapter with
rails. I just have oci8 installed for the migration script.
Please help.
Thanks in advance,
andy
The error in full from mongrel.log:
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/oracle_adapter.rb:536:
undefined method `define_a_column'' for class `OCI8::Cursor'' (NameError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:496:in
`require''
from /us...
2007 Oct 01
10
Error with Mongrel_cluster
...el.8000.log for info.
** Starting Mongrel listening at 0.0.0.0:8000
** Changing group to xxxxx.
** Changing user to xxxxx.
** Starting Rails with production environment...
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection
_adapters/oracle_adapter.rb:536: undefined method `define_a_column'' for
class `OCI8::Cursor'' (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependenc
ies.rb:495:in `require''
from
/usr/lib/ru...
2006 Jan 07
0
Connecting to Oracle
Hi,
I am getting the following error running my rails app:
undefined method ''define_a_column'' for class OCI8:Cursor (NameError)
Platform: Windows XP
Rails: 1.0
ActiveRecord: 1.13.2
Oracle: 9.2
Ruby: 1.8.3
Oci Drive: ruby-oci8-0.1.13
Any clues ?
Thank you all !!
--
Posted via http://www.ruby-forum.com/.
2006 Jan 11
3
FastCgi/OCI8 problem
Hi,
I''m having problems running my rails application in the following
setup Unix/Apache/FastCgi/Oracle10g.
I had my app running quite happy until I installed the OCI8 driver.
When I try to load the app I get in the apache logs the famous
"undefined method ''define_a_column'' for class OCI8:Cursor (NameError)"
I think the problem is with the fastcgi set up since I''ve been able to
test the connection by running ruby scripts from the shell command and
my app runs quite happy in WebBrick.
I''ve added all the suggested environment variables...
2005 May 19
0
Re: Problem with Rails and OCI8
...error when I have OCI8 (ver 1.9)
installed .. Older rails (0.9) did not have this problem, AFAIK.
Uninstalling OCI8 from site_ruby makes the problem go away.
Ideas? Thanks.
/usr/lib/ruby/gems/1.8/gems/activerecord-1.8.0/lib/active_record/connection_
adapters/oci_adapter.rb:253:
undefined method `define_a_column'' for class `OCI8::Cursor''
(NameError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__''
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require''
from
/usr/lib/ruby/gems/1.8/gems/activesupport-...
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
...But unfortunately whenever I try to create a test application by using
"rails testapp", I am getting the follwing errror:
$ rails testapp
/apps/gcti/ccon_rep/cfile//lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/oracle_adapter.rb:520:
undefined method `define_a_column'' for class `OCI8::Cursor'' (NameError)
from
/apps/gcti/ccon_rep/cfile//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
from
/apps/gcti/ccon_rep/cfile//lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in...