Project

General

Profile

Refactor #33984

Tracker #33983: Cleanup core_extensions

Remove custom update methods

Added by Ondřej Ezr about 1 year ago. Updated about 1 year ago.

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

Description

We have custom update_single_attribute and update_multiple_attribute methods that can be easily replaced by ActiveRecord#update_column and ActiveRecord#update_columns.

Associated revisions

Revision 0e5fca00 (diff)
Added by Ondřej Ezr about 1 year ago

Fixes #33984 - removes custom update methods

These archaic methods are not used anymore
These are in Rails for years so noone shoul be using them for a while now.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8944 added

#2 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases 3.2.0 added

#3 Updated by Ondřej Ezr about 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF