From e6e0579defcfcf94ef1c4c1c7659f374a5335cdb Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Sun, 5 May 2013 12:32:00 +0100 Subject: Add params option for button_to The parameters are rendered as hidden form fields within the generated form. This is useful for when a record has multiple buttons associated with it, each of which target the same controller method, but which need to submit different attributes. --- actionpack/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 6e8ba88b77..6bd7b788bb 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,8 @@ +* Add `params` option to `button_to` form helper, which renders the given hash + as hidden form fields. + + *Andy Waite* + * Development mode exceptions are rendered in text format in case of XHR request. *Kir Shatrov* -- cgit v1.2.3