I've just spent two hours not understanding why one of my search options was not correctly selected. I finally traced it to me using a named_scope with a lambda and an integer parameter. I took me a long time to find the doc that explained that I should use searchlogic_lambda in lib/searchlogic/core_ext/object.rb ... (not a very intuitive location)
I think that the README.rdoc file should mention that you have to use searchlogic_lambda if you need a named_scope or a scope_procedure with a lambda and a non-string parameter.
I've just spent two hours not understanding why one of my search options was not correctly selected. I finally traced it to me using a named_scope with a lambda and an integer parameter. I took me a long time to find the doc that explained that I should use searchlogic_lambda in lib/searchlogic/core_ext/object.rb ... (not a very intuitive location)
I think that the README.rdoc file should mention that you have to use searchlogic_lambda if you need a named_scope or a scope_procedure with a lambda and a non-string parameter.