Displaying 2 results from an estimated 2 matches for "get_html".
2005 Nov 25
0
Using link_to_remote/remote_function outside of a Controller
...hat 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'' for #&...
2006 Jul 15
6
camping - inspiring new way to write applications
hi all,
curious about your input on this latest design experience i''ve had
with camping.
none of that developing a traditional html ui, a ruby backend, and
ajax-ifying the application after being built.
- i started straight off with a camping-based json api (for the model).
- next step was writing the controller in pure js - no dom interactions here.
- then finishing off with a view