Displaying 2 results from an estimated 2 matches for "ajax_test".
2009 Jul 28
4
RJS-Template and link_to_remote
Hi, I am quite new to rails and can''t use any rjs-templates.
The problem is, that he can''t use/find the methods in that template
e.g. ''page'' or ''replace_html''. I get an error message on these
methods.
Here''s what I got so far in my example:
Controller:
----
class AjaxTestController < ApplicationController
layout
2006 Jan 10
8
first ajax demo in Rails book - does it work for anyone?
Just tried the first AJAX example in the rails book (p.391-392, the
''word guessing'' thing), and the AJAX partial used seems to render as a
full page.
I''m not sure whether it''s
a) a partial bug
b) some interaction between ajax and partials
c) a change since the book came out
or
d) pilot error
I''ve checked the errata pages and it''s flagged up