def load_associated_collections
      array = association_fields

      if array.map{|f| f.collection_loaded?}.include?(false)
        StorageRoom.log("Fetching associated collections for '#{name}'")
        array.each{|f| f.collection}
      end
    end
def load_associated_collections
      array = association_fields

      if array.map{|f| f.collection_loaded?}.include?(false)
        StorageRoom.log("Fetching associated collections for '#{name}'")
        array.each{|f| f.collection}
      end
    end
def load_associated_collections array = association_fields if array . map { | f | f . collection_loaded? } . include? ( false ) StorageRoom . log ( "Fetching associated collections for '#{name}'" ) array . each { | f | f . collection } end end
Load all Collections that are related to the current one through AssociationFields
Load all Collections that are related to the current one through AssociationFields