I had this working fine before, but now for some reason
<%= observe_field( :sale_sku_id, :url => {:action =>
"update_sales_form"}, :update => :unit_price, :with => :sku_id)
%>
Produces nothing on the view side.
I have
<%= javascript_include_tag :defaults %>
at the top of my layouts/application.rhtml
I even checked the code and prototype.js is included:
<script src="/javascripts/prototype.js?1222459662"
type="text/javascript"></script>
any ideas?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---