views:

6

answers:

0

Scenario:

:author has_many :posts

My searchlogic-based web form search for authors:

f.text_field :name_like # author name
f.text_field :posts_title_like # post title

searchlogic named scopes use inner joins, so I'll only get authors returned if they have posts. Authors without posts are not returned.

How do I force an outer join without creating a custom named scope?

Luke