searchlogic icon indicating copy to clipboard operation
searchlogic copied to clipboard

OR conditions with multiple different parameters (feature request)

Open gamov opened this issue 15 years ago • 0 comments

The documentation states:

User.id_or_age_lt_or_username_or_first_name_begins_with(10)
  => "id 

But I believe this is wrong and the result should be:

"id 

However, I would love to get the result as it is stated in the doc. I suppose it would imply a call like this (listing params in the order they are declared in the method name): User.id_or_age_lt_or_username_or_first_name_begins_with(10,'ben')

That would be awesome!

gamov avatar Sep 21 '10 04:09 gamov