Files
ubicloud/model/vm_host.rb
Jeremy Evans fed5d1f1a2 Remove VmHost#hetznerify
This was originally added in 1c75bfdb8e
(June 2023), and when originally added, it used HetznerHost, and it
worked correctly.

In b48756e163, it was changed from
using HetznerHost to using HostProvider, and at this point it broke,
because host_provider.{server_identifier,provider_name} are primary
key columns, and cannot be set via mass assignment by default.

It's possible to fix this issue, but considering it has been broken
for over 6 months, and is not used anywhere, it seems better to
remove it. The only reason this wasn't discovered sooner is that the
VmHost model specs are mostly mocked (yet another bug hidden by
mocking).
2025-08-07 02:12:54 +09:00

19 KiB