Displaying 3 results from an estimated 3 matches for "options_for_ajax".
2009 Sep 10
1
undefined method `protect_against_forgery?'
...}
}
there is a error as following:
undefined method `protect_against_forgery?'' for #<Node:0xb66986b8>
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_view/
helpers/prototype_helper.rb:1059:in `options_for_ajax''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_view/
helpers/prototype_helper.rb:449:in `remote_function''
/home/sdr/workspace/sp/vendor/plugins/tree/lib/node.rb:79:in
`internal_link_to_remote''
/home/sdr/workspace/sp/vendor/plugins/tree/lib/node.rb:31:in
`i...
2009 Apr 12
5
Problems with jRails and ajax helpers
...any time I attempt
to use a Rails ajax helper, I get the following error:
index 116545 out of string
with this stack trace:
vendor/plugins/jrails/lib/jrails.rb:197:in `[]=''
vendor/plugins/jrails/lib/jrails.rb:197:in `build_callbacks''
vendor/plugins/jrails/lib/jrails.rb:119:in `options_for_ajax''
vendor/plugins/jrails/lib/jrails.rb:51:in `remote_function''
I verified that the no conflict snippet is included in the application
layout, and all libraries are up to date.
Does anyone have any idea what the problem might be?
--
Posted via http://www.ruby-forum.com/.
--~--~--...
2006 Nov 04
4
how to get observe_field to use GET method?
Hi All.
I am trying to set-up observe_field so that it uses the GET method (To
work with a RESTful controller).
<%= link_to_remote("Test", :update => "main", :url => { :controller =>
"projects", :action => "show", :id => "3"}, :method => "get" ) %>
<%= observe_field("project_selector", :update