Our Meeho!™ Blog brings you general news, tech stuff, tips, inspiration and more in relation to the Meeho!™ platform.

Sign up now for free!

Archive for the ‘Ruby on Rails’ category

» Simple XML serialization in Ruby on Rails

Posted by Kasper Tidemann on 4/12 2010 at 1:55 AM

Having looked into it for a few minutes, I was quite sure I needed to override the to_xml method in order to get the XML output I wanted for some functionality in Meeho!™. But I found that Ruby on Rails is quite capable of including the relation I was looking for by using :include as seen below. Beautiful!

Easy XML serialization in Ruby on Rails. Beautiful!

Easy XML serialization in Ruby on Rails. Beautiful!