I use acts-as-taggable-on for tagging in my development application, but when I click it on Heroku I get a nasty error:
ActionView::TemplateError (PGError: ERROR: relation "tags" does not exist : SELECT tags.*, taggings.tags_count AS count FROM "tags" JOIN (SELECT taggings.tag_id, COUNT(taggings.tag_id) AS tags_count FROM "taggings" INNER JOIN offers ON offers.id = taggings.taggable_id WHERE (taggings.taggable_type = E'Offer' AND taggings.context = E'tags') GROUP BY taggings.tag_id HAVING COUNT(*) > 0 AND COUNT(taggings.tag_id) > 0) AS taggings ON taggings.tag_id = tags.id ) on line
Does anyone know how to make the plugin work on Heroku PostgreSQL?
Thanks!
source share