From: cristian cristian Date: 2013-06-26T01:45:24+09:00 Subject: Re: Beginners problem with database and datamapper Hmm, ok Thank you. I actually made it work before I read your post. Any way, I have a (beginner) question. I still dont understand how everything works. When I do "Site.all.each do..." - Im creating an object that holds all data from the table Sites? That object is in memory? What if the table is very big, wouldnt that be memory consuming? Or is the object actually querying the database for each iteration? Any way. Thank you all. Now I will try to do the same with active_record as suggested above. :) Br cristian -- Posted via http://www.ruby-forum.com/.