Project

General

Profile

Actions

Bug #20845

closed

render :nothing => true deprecated in Rails 5

Added by Evgeni Golov about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Ohai,

render :nothing => true

is deprecated in Rails 5, plus it returns HTTP 200 (OK) and in most cases you want HTTP 204 (No Content).

Actions

Also available in: Atom PDF