Searchlogic is_any needs to be switched to equals_any

Does “is_any” has a bug in searchlogic? “is_any” used to work fine
for me. All of a sudden now, for unknown reasons, when I write for
example :attribute_is_any => [1] , the sql output is “where
attribute != 1” which is the opposite of what I want of course.
Curiously, the problem only occurs when running with a web server
(mongrel). I see the problem in the log. But when I go to the
console, it works fine, the correct sql output is shown : “where
attribute == 1”. Basically, the same searchlogic object returns
opposite results in the console vs. through the web server.

I had to switch to “equals_any” The problem goes away. Is this a bug?
Thanks.

On Fri, Mar 5, 2010 at 6:03 PM, Ease B. [email protected] wrote:

I had to switch to “equals_any” The problem goes away. Is this a bug?
Thanks.

Ease, I would also recommend filing a ticket against this plugin/gem if
it’s
truly an issue. Next, It’s not clear what version of the gem you’re
using
or
the version of Ruby. Lastly, the feature of the gem may have been
deprecated
and you’ll need to consult its documentation.

-Conrad