On Apr 20, 9:50 pm, Norman Clarke <nor...@njclarke.com> wrote:
>
> Definitely looks like a cool idea for a plugin though. You should keep
> working on it.

I've got an alternate take on the concept up at
http://github.com/ernie/meta_where/tree/autojoin now.

I think I like this one better, and it seems to work OK with
eager_load and includes now, too. Activated by adding autojoin into
the method chain. See the gist at http://gist.github.com/376585 for
results.

There may still be some broken stuff or drawbacks, but I'm feeling
pretty good about it in general.

While working on this, I came upon what I believe is a bug in a
relatively unused part of the JoinDependency/eager_loading code
pertaining to find_with_associations, though I may be mistaken.

I've put up a lighthouse ticket at 
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4463
if anyone cares to confirm.

-- 
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-c...@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.

Reply via email to