Project

General

Custom queries

Profile

Actions

Bug #20845

closed

render :nothing => true deprecated in Rails 5

Added by Evgeni Golov over 7 years ago. Updated almost 7 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 #2

Updated by Evgeni Golov over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF