rails: not meth zero? for nil in #aliased_name_for since i ext a array#sum