Actions
Refactor #11130
closedCalling set_table_name is deprecated
Difficulty:
trivial
Triaged:
Pull request:
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.
Updated by Dominic Cleal over 9 years ago
- Related to Bug #10994: Extra interface added when selecting compute profile added
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2708 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Assignee set to Shlomi Zadok
- Translation missing: en.field_release set to 63
Updated by Shlomi Zadok over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 796179e56abdf39933517eb21e81bf633f93c3db.
Actions