Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #6412 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

[PATCH] add options[:url] to form() in active_record_helper.rb - partially allows for RESTful call

Reported by: timocracy Assigned to: David
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords:
Cc:

Description

The options can be populated with an explicit URL in the ARH.form() call, now. This allows for making more CRUD/RESTful calls using the ARH, which is the first step in making either a dynamic version of scaffold_resource or anything else dynamic that uses REST style.

I'll be submitting a patch to add options[:method] and the hidden input, as well, and then email the list about how I should proceed with making the dynamic scaffold_resource.

Test included, of course.

Attachments

url_in_ARH_form.patch (1.7 kB) - added by timocracy on 10/16/06 15:45:24.

Change History

10/16/06 15:45:24 changed by timocracy

  • attachment url_in_ARH_form.patch added.

10/16/06 16:02:26 changed by timocracy

Added semi-related #6413

06/04/07 05:05:21 changed by josh

  • keywords deleted.
  • milestone changed from 1.2.4 to 1.x.

(Not so tiny)