Actions
Refactor #18667
closedAdapt HostCollectionsController to Rails 4.2.8
Pull request:
Fixed in Releases:
Found in Releases:
Description
The controller knowingly tried to assign `@host_collection.host_ids = [array with 2 equal ids]`. In Rails 4.2.8 this throws an exception, as if you try to assign multiple IDs but there's only 1 object that matches all of them, ActiveRecord will say "found 1 results but looking for 2" and throw an exception.
Actions