lib/catissue/domain/container.rb
def copy_container_type_capacity
      return unless container_type and container_type.capacity
      self.capacity = cpc = container_type.capacity.copy(:rows, :columns)
      logger.debug { "Initialized #{qp} capacity from #{container_type.qp} capacity #{cpc}." }
      update_full_flag
      cpc
    end
def copy_container_type_capacity
      return unless container_type and container_type.capacity
      self.capacity = cpc = container_type.capacity.copy(:rows, :columns)
      logger.debug { "Initialized #{qp} capacity from #{container_type.qp} capacity #{cpc}." }
      update_full_flag
      cpc
    end
Copies this Container's ContainerType capacity, if it exists, to the Container capacity.

 @quirk caTissue this method must be called by subclass initializers. The caTissue API
   does not make the reasonable assumption that the default Container capacity is the
   ContainerType capacity.

 @return [Capacity, nil] the initialized capacity, if any