← back to the blog
fousa tag
Current tag: tag
2009
11
JAN
Fix the xml-mapping gem in rails 2.x
In a previous article I explained how to use the xml-mapping gem to map a XML tree to your models. But what I didn’t mention is that a exception is raised when using this gem in rails 2.x. When you try to save the model to an XML file it goes wrong. In rails 2 some methods became deprecated and therefore I created a plug-in that patches the gem....