def add_locations(hash)
      hash.each do |attribute_name, locations|
        find(attribute_name).add_locations(locations)
      end
    end
def add_locations(hash)
      hash.each do |attribute_name, locations|
        find(attribute_name).add_locations(locations)
      end
    end
Shorthand for adding locations to multiple attributes at once.