I found a ticket on Lighthouse which addresses the same issue, hope someone has an idea how to solve this: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1295-making-with_scope-merge-selects
Pascal On Dec 31, 2008, at 11:21 AM, Pascal Ehlert wrote: > > Hi Matt, > > I can use :select, but it overrides any previous :selects defined in > other scopes or even the default scope instead of merging with them to > select all the fields. > > I think we have with_exclusive_scope for this behavior and the default > should be different. > > Cheers > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
