any suggestions on why I am gaining this error.
ActiveRecord::StatementInvalid in ProjectsController#create
Mysql::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 ’ , , , , )’ at line 1: INSERT INTO projects (
VALUES(, , , , , )
all seem sto go wrong when I call
however when I change
belongs_to :quote to belongs_to :quotes (extra s on the end)
Everything seems to work here as expected.
any suggestions why thi sis happening?