Make it compatible for rails 3.2.x 

methods are serialized as symbols instead of string