# Problem with Oracle

**URL:** <https://www.ruby-forum.com/t/problem-with-oracle/118335>\
**Category:** Rails\
**Created:** [October 25, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/problem-with-oracle/118335 "2007-10-25T20:15:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torben\_Bruun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/f07891/32.png) [@Torben\_Bruun](https://www.ruby-forum.com/u/Torben_Bruun)\
**Post date:** [October 25, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/problem-with-oracle/118335/1 "2007-10-25T20:15:40Z")

</div>

Hi,

Normally I’m using Rails with mySql but for the moment I’m trying to  
make a Rails/Oracle solution using oci and instantclient, but I’m  
having a problem I receive the following when doing a select

Exception string : undefined method `empty?’ for 1:Fixnum

does anybody know a solution to this.

kr

Torben

---

<div class="post-metadata">

**Author:** ![Torben\_Bruun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/f07891/32.png) [@Torben\_Bruun](https://www.ruby-forum.com/u/Torben_Bruun)\
**Post date:** [October 30, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/problem-with-oracle/118335/2 "2007-10-30T14:35:21Z")

</div>

Torben, can you give a bit more of the trace.

I’ve got 30 + tables running in ROR with oracle, using both XE and  
10g. (Development uses a XE local instance production uses a 10G full  
install)  
The one thing that comes to mind is be careful about “bad” variable  
names. ie. variable names or table names that are oracle reserved  
words.  
I had quite a few problems with that.

See my blog on [mentalpagingspace.blogspot.com](http://mentalpagingspace.blogspot.com) on some of my oracle  
conversion scripts, its got some auto renames for fields coming from  
“other” databases.
