steffenb
2009-Feb-25 20:39 UTC
[patch] Choosing join operator for join hash (activerecord)
Hi, a simple patch to let app developers choose to use LEFT JOIN instead of INNER JOIN for join hashes in find. Thus, named_scopes can be used more flexible, e.g. when defining OR''ed conditions on different associations. Ticket http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2063-choosing-join-operator-for-hash-joins Patch http://rails.lighthouseapp.com/attachments/92545/add_join_operator_option.diff Please have a look. Thanks, Steffen --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---