Actions
Feature #37087
closedPrepare STI usage to be compatible with Ruby 3.0
Description
Some of our STI models (host and subnet) have redefined initialization method signature, which cause failures in code logic due to Ruby 3.0 more strict way of dealing with keyword arguments. As a first step we must to comply with Rails' model initialization method signature. As a second step, we must review app/models/host.rb module's method_missing stub to accept keyword arguments to be able to answer and delegate different calls with different signatures. Without this, we can't migrate to Ruby 3.
Updated by Oleh Fedorenko 11 months ago
- Blocks Feature #36849: Run Foreman tests on Ruby 3.0 added
Updated by The Foreman Bot 11 months ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/10006 added
Updated by Oleh Fedorenko 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|ebaa4537b43798e040cb512ee397db3f08fcd8af.
Actions