On Mar 4, 2011, at 2:08 AM, Michael Koziarski wrote:
We won't be able to remove those without breaking lots of people's apps. Currently it's a feature that you can safely say have code like this and have it redirect browsers back to the index action.
I see, that makes sense. At the very least, I'll submit a patch that makes the :layout option work. After all, the html format is the only one that parameter makes sense for; if the developer puts :layout => false (or some other template) in their respond_with options, it's obvious they mean the html format.
respond_with(@comment, :layout => false) Thanks Koz! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
