This project is archived and is in readonly mode.

#735 ✓resolved
David Röthlisberger

Documentation for ActiveRecord#find(:select)

Reported by David Röthlisberger | July 31st, 2008 @ 06:49 PM | in 2.x

You can't pass an array of column names to the :select option of ActiveRecord#find -- see

This initially confused me and the documentation didn't help. This documentation patch clarifies that you should pass a string (e.g. :select => 'id, name').

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket