Error generated by my controller spec where I call:
assigns(:grid).should be_present
ActiveRecord::StatementInvalid: Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':joins=>nil, :include=>[:position, :election], :group=>nil}) FROM `candidates` WHERE' at line 1: SELECT COUNT({:joins=>nil, :include=>[:position, :election], :group=>nil}) FROM `candidates` WHERE `candidates`.`user_id` = 392 AND `candidates`.`election_id` = 73
Upgraded to version 3.6.2 and started getting errors in all places where I called:
Error generated by my controller spec where I call: