Trying to get a handle on the respond_with method. I have an action
like this in my current rails 2

respond_to do |format |
format.html {render}
format.js { render :layout => false}

how would I make this into a respond_with

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