Really Simple RJS question

I have a really simple RJS question.

Lets say I have a controller with the action create. I want to handle
the action in a rjs template so I have something like...

def create

respond_to do |format|
...
format.js
end
end

Now i know an ajax call will result in the program looking for a
create.rjs template to call. The problem is what if I have another
controller with a create action that I also want to use a template with?
Then I would have two different RJS templates called create. Is there a
way to change the default name of the template and instruct the action
to call it. Something like:

format.js => 'my.rjs'

Thanks,
steve

Thanks Jeff I will have a look!

Jeff Emminger wrote: