Это проблема разрешения области.Вы должны попытаться использовать ::Company::Item
внутри Security::MyController
В соответствии со спецификацией языка Ruby
::Something is a shortcut for Object::Something. The idea is that ::Something
should look up a constant called Something in the global scope, but since ruby
doesn't truly have a global scope, it looks it up in the Object class, which is
the nearest thing in ruby to a global scope.
Префикс :: не позволит Ruby применять область по умолчанию в этом контексте, что в вашем случаеЭто Security::
область