Last IP address and action_dispatch.trusted_proxies

Does that setting perhaps add to TRUSTED_PROXIES, rather than override it?