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.
Actions