Conflicting Plugins
Posted by Y Ddraig Wen Sat, 08 Dec 2007 20:34:00 GMT
This is more a heads-up or reminder for myself. I discovered last week that for some reason the bilingual website I've been developing wasn't translating properly. Certain aspects of the Welsh side of the site were showing up in English despite already being translated. I thought at first that maybe something had been deleted in the database. Then I thought maybe it was a cache problem having recently moved from development mode to production mode. I couldn't seem to find any reference to the problem on the web. And then I realised that it was two specific models not translating: the two with tagging.
I was using the Globalize plugin for the bilingual aspects of the site and has_many_polymorphs for tagging (since it has a nifty little tagging generator). I removed has_many_polymorphs and all references to it and sure enough translations work fine again.
Strangely enough, things were working fine on my development computer despite using exactly the same versions of Rails and the two plugins. How very annoying.
