I am working on a RoR project which outputs XML to RESTful requests. The problem is it includes the "updated-at" and "created-at" fields in the output.
I have tried using:
:exclude -> [ :created_at, :updated_at ]
and
:exclude -> [ 'created-at', 'updated-at' ]
but the output still renders them. How do I exclude them from the rendering without these?