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’
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’
Thanks! I have been so frustrated by this one…now I know the solution.