Note to self

2008 July 14
by Fadhli

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’

One Response leave one →
  1. 2009 April 15

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

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS