search for: field_observer

Displaying 1 result from an estimated 1 matches for "field_observer".

2009 Apr 08
0
authenticity problem with jrails ajax
...ticity it adds the authenticity token automatically, but drops sending the data in the :with part. I commented out this code as shown and inserted an actual ajax call that does work fine, with authenticity, but seems like not as much of the prefered approach. I''ve had similar problems with field_observer() calls in some cases. I think if the json syntax is not used when there is just one parameter, it does work. function update_server(info) { <%#= remote_function(:url => {:action => ''resize_field''}, :with => ''{col:info.col,width...