16 17 18
# File 'app/models/file_container.rb', line 16 def self.all @all ||= types.map{|t| t.where(1)} # lazy load :all of each type end