Just wondering if anyone could help me wrap my mind around some of this
ajax stuff and how to get some of those rjs partials to work (if even
I was thinking of having a page that would be something like:
<% end %>
From the examples I’ve seen the controller would have something like
class TestController < ApplicationController
@users = User.find(:all)
@uID = params[:id]
#… some magic goes here
redirect_to_index unless request.xhr?
redirect_to :action => :index
I know I’m missing something here, but the thing’s ive tried haven’t
provided me much feed back on whats happening behind the scenes.