some work with array using Rails ActiveSupport