Project

General

Profile

Bug #20845

render :nothing => true deprecated in Rails 5

Added by Evgeni Golov almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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 almost 5 years ago

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

it's deprecated in Rails 5

History

#1 Updated by The Foreman Bot almost 5 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 almost 5 years ago

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

#3 Updated by Justin Sherrill almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 284

Also available in: Atom PDF