Observe_field for jquery + rails3

I am porting one application to Rails3 and want to know what is the
right way to do “observe_field” with Rails3?