Even larger, this follows the block and internal qualifiers, but has an
undefined method '&':
where{{pcid: freebies_array} &
(listing[:product_name].ilike(submitted.to_s)) & {listing[:status] =>
'active'}}.
Doesn't say which ampersand is the issue. First qualifier there is "pcid
IN <array>"
On Tuesday, August 4, 2020 at 12:52:07 PM UTC-4 Jeremy Evans wrote:
> On Tuesday, August 4, 2020 at 9:49:15 AM UTC-7, [email protected] wrote:
>>
>> How do you combine multiple items in a virtual row block?
>>
>> where{{listing[:product_name].ilike(submitted.to_s), listing[:status] =>
>> 'active'}}.
>>
>
> where{listing[:product_name].ilike(submitted.to_s) & {listing[:status] =>
> 'active'}}
>
> Thanks,
> Jeremy
>
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/cbbef761-56f9-46d0-bb5c-9ae488c210e5n%40googlegroups.com.