20 May '12, 3pm

Ruby on Rails Guides: Active Record Query Interface:

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

Ruby on Rails Guides: Active Record Query Inter...

guides.rubyonrails.org 20 May '12, 3pm

But this approach becomes increasingly impractical as the table size increases, since User.all.each instructs Active Recor...

Ruby on Rails Guides: Active Record Query Inter...

guides.rubyonrails.org 27 May '12, 6pm

But this approach becomes increasingly impractical as the table size increases, since User.all.each instructs Active Recor...

Been using a Proc with an :if or :unless a lot ...

guides.rubyonrails.org 21 May '12, 4pm

Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and m...

Ruby on Rails Screencasts - RailsCasts #tips

railscasts.com 19 May '12, 10am

It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily.

Rails Installer: Ruby and Rails on Windows in a Single, Easy Install:

Rails Installer: Ruby and Rails on Windows in a...

rubyinside.com 21 May '12, 6am

RailsInstaller is a new project from Wayne E Seguin (of RVM fame) that brings RubyInstaller -style simplicity to getting R...

Rails Casts - #219 Active Model:

railscasts.com 24 May '12, 6am

When you’re thinking of doing something like this it’s always a good idea to first consider your requirements and make sur...

Узнайте все о Ruby on Rails

rubyonrails.ru 19 May '12, 10pm

«Agile Web Development with Rails» содержит все необходимое для того, чтобы сразу начать разрабатывать веб-приложения на R...

クックパッドのエンジニアがRoombaをRubyでWifi経由で動かすデモをした時のNews ...

ruby5.envylabs.com 29 May '12, 8am

A whole squad of Ruby5 hosts reports from RailsConf 2012 in Austin. We discuss the DHH keynote, Rails on Roombas, the fact...

Was I dreaming, or is there an ActiveModel modu...

railscasts.com 16 May '12, 2pm

In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly ...

“Railscasts - Active Record Queries in Rails 3”

railscasts.com 26 May '12, 1am

Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in...

How do i check what version of ruby and rails i...

ruby-forum.com 24 May '12, 11pm

>> What is the command to see what version of ruby and what version of >> rails i am running? >> >> Thanks in advance! >> ...

railsをwindowsにインストールするぜ。

oiax.jp 21 May '12, 3am

そこで、神戸セミナーでの経験を踏まえて、Rails 3.1 3.2 での開発環境を整える手順をまとめておきます。対象 OS は、Windows XP/Vista/7 です。「手順通りやったけどうまく行かなかった!」という方は、Windows の...

re-the last retweet (not enough rails devs): to...

blog.obiefernandez.com 20 May '12, 11am

This is a guest post by Rusty Zarse CTO of Search Discovery, spurred by a series of email conversations that we had regard...

Active Record `#{attribute}?` method

rubyflow.com 28 May '12, 8pm

Active Record `#{attribute}?` method Posted by rlmflores on May 28, 2012 — 0 comments I've wrote a blog post about the `#{...