Project

General

Profile

Actions

Refactor #11130

closed

Calling set_table_name is deprecated

Added by Dominic Cleal almost 9 years ago. Updated almost 6 years ago.

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

Description

We get some deprecation warnings when running migrations:

2015-07-16T08:23:02 [app] [W] DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:FakeComputeAttribute> at /home/dcleal/code/foreman/foreman/db/migrate/20150714140850_remove_new_from_compute_attributes.rb:2)

Also in db/migrate/20140219183343_migrate_permissions.rb where I copied it from for the above migration.

set_table_name just needs changing as per the message.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #10994: Extra interface added when selecting compute profileClosedDominic Cleal07/03/2015Actions
Actions #1

Updated by Dominic Cleal almost 9 years ago

  • Related to Bug #10994: Extra interface added when selecting compute profile added
Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2708 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal over 8 years ago

  • Assignee set to Shlomi Zadok
  • translation missing: en.field_release set to 63
Actions #4

Updated by Shlomi Zadok over 8 years ago

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

Also available in: Atom PDF