I ran across the following, which is confusing:
DB[:table].where{(bravo > 100) & {alpha_status: 'active'}} # works
DB[:table].where{{alpha_status: 'active'} & (bravo > 100)} # error
It seems there is a preference. I know they're in the same block, but are
they not handled independently before the AND?
Cheers
--
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/c31abb32-ca2c-421f-b982-c10009c4b80e%40googlegroups.com.