Is there any reason why HABTM default select clause is select * from ... rather than select table_name.* ... ? As it is attributes from the join table 'leak' into the attributes for the collection you are fetching (which for example makes a mess if you call to_xml on it). On the other hand has many through does do select table_name.*
Is there a specific legacy reason why this is so or is it just historical artificat (ie can we just change it to table_name.*) Fred --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---