Note to self

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’

Tags:

One Response to “Note to self”

  1. Paul Oliver 15. Apr, 2009 at 2:35 pm #

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

Leave a Reply