This should be:

def private_ip_address
  private_ip_addresses.first
end