Some points:

* `column_name == :all` doesn't really guarantee that the records are already loaded.
* The code below `c.length` is identical to `Model.all.length` since it doesn't have any limit and offset values. it also creates a lot of AR objects, which could be a big performance issue. Are you sure it makes a big difference? How did you measure the performance?