New column added to table is not saving
Another problem can be:
Zend_Db cached the structure of the database tables. If you add a new column, refresh the cache and Zend knows to fill the table.
Even if you have all cache disabled, the database structure and other info may still be cached.
Thanks james.c.funk
Make sure you delete everything in var/cache
, this happens ,when you hit the button in the top but NOT when you check all checkboxes and refresh them!
ok, i got it to work by changing $this->setArtistsFollowed($artist)
to $this->setData('artists_followed', $artist)
. i'm not sure why that worked though? what happened to the magic setter in this instance?