Forum: Ruby on Rails observe_field producing nothing on view

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Allen W. (Guest)
on 2008-10-25 04:05
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"

any ideas?
This topic is locked and can not be replied to.