.all
is your friend here. Fog
collections generally have an all
method that fixes the issue with lazy loading that you are having. Instead of @service.servers
, use this:
servers = @service.servers.all
and
servers_old = @service_old.servers.all