<%= render :partial => "test/json_change_priority", formats: :json %> HTML Template, but <%= render :partial => "test/changing_priority" %> partial