I want to change some tablenames on my DB, but I dont want to change the
modelnames in my RailsApp. So I write down this line of code in the
model with the changed table: " set_table_name "newName" " . Also I
changed in the migrationfiles the tablenames and renamed the fixtures.
But if I now run " rake db:fixtures:load " I get an MySql Error:
Mysql::Error: Unknown column 'foo' in 'field list': INSERT INTO
`newTablename` (`price`, `name`, `size`, `type`, `description`,
`provider`) VALUES (5.95, 'Pinot Grigio', '0.75l', 'wein', NULL,
Can anybody tell me what I do wrong?