When user requsts a record, rails will put everything into xml output. How to remove some junk data? Thanks!
on 2007-05-13 07:51
on 2007-05-13 10:07
If you can't clear out enough "junk" with the to_xml options: http://api.rubyonrails.org/classes/ActiveRecord/Xm... then override to_xml on your model to produce the xml you want... probably with builder. You can also make a builder rxml template and have the controller render that instead. b
on 2007-05-13 14:26
aha, i can use "kip_instruct => true, :except => [ ... ]". Thank you very much!!