25 Apr '13, 8am

@sevfurneaux wild guess but… if you're dealing with a lot of objects.

But this approach becomes increasingly impractical as the table size increases, since User.all.each instructs Active Record to fetch the entire table in a single pass, build a model object per row, and then keep the entire array of model objects in memory. Indeed, if we have a large number of records, the entire collection may exceed the amount of memory available.

Full article: http://guides.rubyonrails.org/active_record_querying.html...

Tweets

How have I never seen this before in Rails? Sup...

guides.rubyonrails.org 25 Apr '13, 8pm

because of argument safety. Putting the variable directly into the conditions string will pass the variable to the databas...

Great gem for APIs: Active Model Serializers

railscasts.com 26 Apr '13, 3pm

The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place ...

Earlier, we announced a record number of entries for @usopengolf. Here's the official release:

Earlier, we announced a record number of entrie...

usga.org 25 Apr '13, 4pm

The United States Golf Association today announced that it has received a record number of entries for the 2013 U.S. Open ...

March 2013 Comscore Ranking: A Record 13.2 Billion Ads Viewed: The March 2013 comScore shows a lot more of th...

March 2013 Comscore Ranking: A Record 13.2 Bill...

reelseo.com 25 Apr '13, 7pm

Everything is holding steady as comScore just released their rankings for March 2013. While unique viewers and views conti...

Analyzing a .me domain found in the wild

Analyzing a .me domain found in the wild

domainnamewire.com 22 Apr '13, 4pm

Analyzing a .me domain found in the wild Monday, April 22nd, 2013 This domain has a major flaw, and it’s not the top level...

Alexander Wang boxing gloves anyone? The third edition of the Objects collections is out in June at the Alexander...

Alexander Wang boxing gloves anyone? The third ...

augustman.com 26 Apr '13, 3am

Alexander Wang's Objects collection is a curated selection of his favourite lifestyle items and like the previous two, the...

The new TLD Trademark Clearinghouse is about to...

domainnamewire.com 22 Apr '13, 2pm

The TMCH phase of new TLDs is here. Which companies should participate, and how should they approach online brand protecti...

Wild Shores of Singapore: Buffy at Pasir Ris (by @wildsingapore)

Wild Shores of Singapore: Buffy at Pasir Ris (b...

wildshores.blogspot.com 21 Apr '13, 3am

Today I saw the Buffy fish owl for the first time! And other special sightings on our Earth Day walk with the Naked Hermit...

Since Rails 4.0's release is imminent, here's t...

edgeguides.rubyonrails.org 02 May '13, 2am

The best way to be sure that your application still works after upgrading is to have good test coverage before you start t...

The race to the next computer interface : #gesture #recognition via @nviso / interesting read

The race to the next computer interface : #gest...

eetimes.com 20 Apr '13, 8am

The gesture interface: A compelling competitive advantage In the technology race Brian Dipert, BDTI, Yair Siegel, CEVA, Si...

Pakistani Taliban active in Logar: The Movement...

longwarjournal.org 24 Apr '13, 4am

The Movement of the Taliban in Pakistan released an interesting video two days ago. The summary below is from the SITE Int...