From: Drew Olson Date: 2007-02-10T00:59:36+09:00 Subject: Re: General Approach to Data Validation Ezra Zygmuntowicz wrote: > I've used the AR extensions project, it adds a lot of the stuff you > need to work with large data sets. Hosting lots of rails apps the > error i see most often is either the ActiveRecord n+1 query problem > where each page results in hundreds of sql queries. Or its the too > many :include joins that end up pulling hundreds or thousands of > objects into memory at once, killing the mongrels the app runs in. Ezra - Is it necessary to use the AR extensions project in conjunction with rails or can I use it as described above, when I'm using ActiveRecord without using the entire Rails framework? If so, do I install the extension as you would a gem? I must say, I was also amazed that there was no way to iterate across large datasets without pulling every record into memory. Thanks to everyone for the quick, informative responses to this issue. -Drew -- Posted via http://www.ruby-forum.com/.