I know it's late in the 4.1.0 release cycle, but I was hoping somebody could review this for that release:
https://github.com/rails/rails/pull/14154 It fixes an issue where default_scopes in ON clauses don't pick up the table's aliased name. Without the patch, the resulting queries are generally valid SQL but return incorrect results. I'd also appreciate any insight people can put on #14155, but that's lower priority since it's been broken in the same fashion since 3.x. Thanks, --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.