tags:

views:

11

answers:

0

I am new to Ruby on Rail and I have some questions.

I have used the Builder to output XML.

render :template => "xxx/yyy.xml.builder"

However I want to add a filter to modify the output (i.e. signing it). I prefer not to generate the XML and modify it in the controller as I think it is a responsibility of a view. Is there any chain mechanism in Rail View?

Thanks.