Calling an rjs template from a normal action?

Calling it from a normal post wouldn’t be logical, it’s not what RJS was designed for. If you’re looking for javascript events on a page load, UJS4Rails (which is great for just about everything btw) could help you out: you can attach javascript to events and even write them just like you would an RJS action.

http://www.ujs4rails.com/

Best regards

Peter De Berdt