On Oct 11, 2:54 pm, Dennis Monsewicz <[email protected]> wrote: > Frederick Cheung wrote: > > AR defaults the select clause to pages.* (in the first case) but you > > can override it if you want. beware about having multiple columns with > > the same name selected (eg id) as they will stomp on each other > > > Fred > > @Fred, can you give me an example of doing this?
:select => 'pages.*, page_translations.some_column' Fred > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

