On Wed, Oct 1, 2008 at 2:29 PM, Allen Walker
<[EMAIL PROTECTED]> wrote:
> <%= observe_form( :sales_form, :url => {:action => "update_sales_form"},
> :update => :sale_unit_price) %>

> Now when i make a change to the form (click around, etc), it is calling
> "update_sales_form". But apparently I'm confused as to how to update the
> "unit_price" element in the DOM.

Did you mean to type:

 <%= observe_form( :sales_form, :url => {:action => "update_sales_form"},
 :update => :unit_price) %>
     ^^^^^^^^^^^^^^^^^^^^^^^^^

unit_price not sale_unit_price ?

Mikel

-- 
http://lindsaar.net/
Rails, RSpec and Life blog....

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to