# Rendering RJS

**URL:** <https://www.ruby-forum.com/t/rendering-rjs/133724>\
**Category:** Rails\
**Created:** [April 2, 2008, 11:55pm UTC](https://www.ruby-forum.com/t/rendering-rjs/133724 "2008-04-02T23:55:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnlester](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Post date:** [April 2, 2008, 11:55pm UTC](https://www.ruby-forum.com/t/rendering-rjs/133724/1 "2008-04-02T23:55:45Z")

</div>

Hello, just curious…

When I handle an ajax call in my controller, why does

render :action =\> “template.js.rjs”

work but

render :action =\> “template”

does not ?

I think the latter looks nicer. Ideally, I’d prefer to do

render :action =\> :template

Thanks!
