Rendering RJS

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


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs