search for: department_manag

Displaying 1 result from an estimated 1 matches for "department_manag".

Did you mean: department_manager
2007 Jun 11
2
Builder::XmlMarkup and dashes
Has anyone hacked Builder::XmlMarkup to dasherize underscore tags by default? I know I can use tag!, but I''d like to find a way for it to translate underscores to dashes automatically. In other words: xml.department_manager do "fred end #=> <department-manager>fred</department-manager> I tried hacking Builder::XmlBase.method_missing but got myself all twisted up! Thanks. Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the...