Hi,

I would suggest to override:
# Override this method on your controller to provide custom finder
options to the find() call. The return of this method should be a
hash.
def custom_finder_options
   {:select => ....}
end

--
Volker

On Jun 16, 9:33 pm, duker_48 <[email protected]> wrote:
> On my list page, I am only displaying a few fields, and the table has
> 30+. How can I change the query from
>
> select table.*
> to
> select table.[fields I am displaying]?
>
> It seems to be pretty inefficient to return the entire table, when I
> am only displaying a few fields.
>
> Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to