From: Camille Roux Date: 2010-01-07T21:27:19+09:00 Subject: How to use the same params in respond_to for some formats ? Hello, I want to make an API in XML and JSON (maybe more), and I want most of the time use the same parameters for the to_xml and the to_json (same :include, :only, :except, :methods). In your opinion, what is the best way to do that? Thank you Camille Roux -- Posted via http://www.ruby-forum.com/.