> A default of SELECT table_name.* in the presence of a :joins option > just seems to make sense all around. Is there some benefit to always > using SELECT * that warrants using it as the default even when it > opens the door for such dangerous and unexpected behavior?
That sounds like it could be a nice little patch, give it a try and reply here once it's uploaded. > At the very least the documentation for :joins should say "always > specify :select or else..." Agreed, if you can't get the solution above to work, send us a docs patch. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
