Ruby on Rails - How do I render an action without the application layout?
Here's some documentation about it: http://guides.rubyonrails.org/layouts_and_rendering.html
For your question:
render :layout => false
or
layout false
For Rails 5, in the controller, for the specific action:
def action
render layout: false
end