Displaying 1 result from an estimated 1 matches for "my_dropdown".
Did you mean:
cb_dropdown
2005 Nov 25
0
Using link_to_remote/remote_function outside of a Controller
...have a problem that is quite anoying!
In side my Controller it is no problem to use the
link_to_remote/remote_function function to produce html stuff to include
in my .rhtml file. BUT if I want to do this in another object, for
eample if I inside my controller (init_test) want to do like this:
my_dropdown->get_html
in which I want to perform the link_to_remote/remote_function function
and then return the html it produces it fails. I get the following error
message:
################################################################
NoMethodError in Init_test#index
undefined method `url_for'...