From: Hassan Schroeder Date: 2013-06-27T00:43:45+09:00 Subject: Re: Beginners problem with database and datamapper On Tue, Jun 25, 2013 at 9:45 AM, cristian cristian wrote: > When I do "Site.all.each do..." - Im creating an > object that holds all data from the table Sites? That object is in > memory? Yes. > What if the table is very big, wouldnt that be memory consuming? Yes, the object in memory is memory-consuming :-) Whether that's a problem in practical terms is a different question, and the answer depends on multiple factors. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan