Skip to content

Note to self

July 14, 2008

Do not name your database column with the name ‘no’.

You’ll get this error when you try to run your test

ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ‘false’ in ‘field list’

Advertisements
One Comment leave one →
  1. April 15, 2009 2:35 pm

    Thanks! I have been so frustrated by this one…now I know the solution.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: