I can't seem to get an exclusion working:
DL[:yachts].exclude{(lat = 0.0) & (lon = 0.0)}
Disregarding that [0.0,0.0] is possible for yacht, I'd like to exclude
these floats from those associated fields, qualified with both filters.
I'm assuming this isn't a cast issue as 0.0 would be seen as a Float. I
know I could wiggle around this, but I want to get my head around this
approach of having both inside a single exclude using that union operator.
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/4889bde8-0698-4b1e-a87c-1f7faad09c40n%40googlegroups.com.