Hi,
just a few words to introduce a new little plugin named ScopedSearch.
I'm announcing it in this group because I really like Searchlogic and
wanted to have one of its feature on a Rails 3 project (and I wanted
the plugin to work with both ActiveRecord and Mongoid).
The feature I really like in Searchlogic is the ability to create an
object that is mapped from your models scopes and being able to throw
it in a form_for to create search forms.
This is really a great feature. So I've created this little plugin,
with it you can do the same kind of thing you do with searchlogic,
like :
def index
@search = Post.scoped_search(params[:search])
@posts = @search.all
...
<%= form_for @search do |f| %>
...
<% end %>
If you are interested :
http://github.com/novagile/scoped-search
Nicolas Blanco.