# Observe\_field producing nothing on view

**URL:** <https://www.ruby-forum.com/t/observe-field-producing-nothing-on-view/151749>\
**Category:** Rails\
**Created:** [October 25, 2008, 2:05am UTC](https://www.ruby-forum.com/t/observe-field-producing-nothing-on-view/151749 "2008-10-25T02:05:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hangingclowns](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b5e925/32.png) [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Post date:** [October 25, 2008, 2:05am UTC](https://www.ruby-forum.com/t/observe-field-producing-nothing-on-view/151749/1 "2008-10-25T02:05:04Z")

</div>

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:

any ideas?
