#114 new

Search via params not mapping to named scopes

Reported by eric | September 1st, 2009 @ 02:06 PM

First off let me say this plugin is not only ambitious as hell, it's amazing and extremely elegant. Well done!

I am running Rails 2.3.2 and searchlogic 2.3.2.

Given two ways to use searchlogic:

  1. Customer.first_name_like("test")
  2. Customer.search(:first_name_like => "test")

(1) works great. (2) gives me all the records in the database, as if the params are not mapping to their appropriate named scope.

Any ideas where I could look to start troubleshooting this?

Thanks to anyone who can help.


Comments and changes to this ticket

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket