# Text Column Doesn't Exist?

**URL:** <https://www.ruby-forum.com/t/text-column-doesnt-exist/103266>\
**Category:** Rails\
**Created:** [May 3, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/text-column-doesnt-exist/103266 "2007-05-03T17:17:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [May 3, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/text-column-doesnt-exist/103266/1 "2007-05-03T17:17:07Z")

</div>

I have a RoR app that I’m trying to move into production. I’ve built it  
on my local server, and I’m moving it to an ISP that supports Ruby on  
Rails. I’m guessing there’s a problem with the version of RoR that they  
provide - but the experts here will definitely know.

I’m using MySQL. A table has a column of type “text”. Problem: on the  
ISP’s server, it’s as if that column doesn’t exist. It gets an error on  
any attempt to reference that column. (the error is wrong number of  
arguments (0 for 1).)

I’m pretty sure that it’s the text definition as removing the column  
reference from the .rhtml eliminates the error - and the only two pages  
showing an error reference tables with a text column.

This brings up two questions:  
(1) Is there a problem with some versions of RoR not being able to  
handle a text column?  
(2) Any suggestions on how to get around this would be greatly  
appreciated.

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [May 3, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/text-column-doesnt-exist/103266/2 "2007-05-03T17:43:57Z")

</div>

What’s the name of the column? Rails has some reserved column names  
for polymorphisms, etc, that can cause some problems for you.

Fredrik

On May 3, 10:17 am, Michael S. \<rails-mailing-l…@andreas-

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [May 3, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/text-column-doesnt-exist/103266/3 "2007-05-03T23:58:02Z")

</div>

Fredrik wrote:

> What’s the name of the column? Rails has some reserved column names  
> for polymorphisms, etc, that can cause some problems for you.
> 
> Fredrik

In both tables, the name of the column is “quote”. Note, however, that  
the app runs fine on my local RoR server - it’s not running on the  
ISP’s.

—Michael

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [May 4, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/text-column-doesnt-exist/103266/4 "2007-05-04T18:38:40Z")

</div>

Michael S. wrote:

> Fredrik wrote:
> 
> > What’s the name of the column? Rails has some reserved column names  
> > for polymorphisms, etc, that can cause some problems for you.
> > 
> > Fredrik
> 
> In both tables, the name of the column is “quote”. Note, however, that  
> the app runs fine on my local RoR server - it’s not running on the  
> ISP’s.

Thanks Fredrik. I’d been looking in the wrong place. ActiveRecord has a  
‘quote’ method which conflicted with the column name. I changed the name  
of the column (and my source code, of course) and everything is working  
great.
