On 8.7.2008, at 18.14, Justin Perkins wrote:
But basically, in Rails, it is dealing with different content types within a single action, such as:def show ... end
Although, in Rails 2.1, the correct template type is rendered automatically, so you don't necessary need to use respond_to anymore, unless need some more complex logic in the controller action.
//jarkko -- Jarkko Laine http://jlaine.net http://dotherightthing.com http://www.railsecommerce.com http://odesign.fi
smime.p7s
Description: S/MIME cryptographic signature