Resolve an insecure .to_sym call.

Resolve an insecure .to_sym call.