Text Column Doesn't Exist?

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.

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-

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

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.