Displaying 1 result from an estimated 1 matches for "project_selector_div".
2006 Oct 18
1
observe_field, GET method and RESTful controllers
...with observe_field.
I basically want the observe field to call a show action on a restful
controller. However I am unable to do so because I cannot get the damn
thing to use the get request properly. If I use the following:
<%= observe_field("project_selector", :update => "project_selector_div",
:url => project_path, :with => "''id=''+escape(value)") %>
then the POST method is used and the controller thinks I am trying to
create a new record.
If I do the following:
<%= observe_field("project_selector", :update => "project_...