| |
NWRUG |
Hi -- I'm using HAML to generate some custom xml that I'm then using for #<ActiveJob:0xb6de35a8 @prefix_options={}, Does anyone know of an easy way to get rid of these?
ActiveResource, which is going swimmingly, except that the attributes of the
models I'm getting in the ActiveResource models have whitespace and newlines
in them, like so:
@attributes={"job_number"=>"\n N0001\n ", "job_name"=>"\n Test
DJL\n ", "id"=>"\n 42\n "}
Maybe an option to render, or HAML, or something?
Cheers,
Doug.