search for: contracts_control

Displaying 1 result from an estimated 1 matches for "contracts_control".

2005 Aug 08
5
In-Line List Editing with AJAX
...(policy.policytype) %>-info'', ''insurance-<%= fmt_policy_id(policy.policytype) %>-edit'');">cancel</a> <%= end_form_tag %> <!--[eoform:insurance-<%= fmt_policy_id(policy.policytype) %>-form]--> </li> ./app/controllers/contracts_controller.rb === def update_policy_info @policy = Policy.find(@params[:policy_id]) # *snip* Updating the policy works if @policy.save render :partial => :policy, :object => @policy end end And the actual error: === NoMethodError in Contracts#update_policy_info undefined...