[Rails] Re: Dealing with Application error (Rails) in production

Dan Croak
Wed, 05 Apr 2006 15:50:37 -0000

Jeff Coleman wrote:
> Have you modified your database and migrated the changes on your
> production server?
>
> If you add a database field locally and refer to it in your code, you
> can get these errors on your production server if the database schema
> isn''t up to date.
>
> Jeff

Hi Jeff,

I created the database table by hand using TextDrive''s (my web hosting
company''s) web-based MySQL admin tool.  The only thing that is
different
about the table versus the development version as far as I can tell is
the password column.  On dev, it is of type char(40), whereas on
production, the web-based tool forces the column to be of type
varchar(40).

Could that be causing the problem?