I’ve run across a weird problem with RJS that I’m trying to figure out:
I have an application that was running 0.13.1 that I recently upgraded
to Rails 1.0. I wanted to use RJS templates, so I installed the plugin
I attempted to test the templates out via the following code, but the
AJAX callbacks did not get processed when the action was completed. No
log). The update simply does not occur.
When I build a new Rails application and install the plugin, the
templates work as advertised. They just don’t work with the existing
class TestController < ApplicationController
The test view is rendered via this action
This action updates the view via an RJS template
page.replace_html ‘test’, ‘hello’
I’m struggling to figure out why they work in the new application and
not in the existing one - I would think the parts of a rails app that
could impact RJS would be the version of Rails installed, the version
of the plugin installed, and the version of prototype. However, as
stated earlier, all of these are the same (unless I made a dumb
Anyone have any ideas why everything seems to work but the most
important part, the callbacks?
HighGroove Studios - http://www.highgroove.com
Keeping it Simple.