Project

General

Profile

Bug #20845

render :nothing => true deprecated in Rails 5

Added by Evgeni Golov about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
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).

Associated revisions

Revision 018c1eba (diff)
Added by Evgeni Golov about 4 years ago

Fixes #20845 - don't use render :nothing => true

it's deprecated in Rails 5

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6933 added

#2 Updated by Evgeni Golov about 4 years ago

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

#3 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

Also available in: Atom PDF