Hi there.  I'm confused about the syntax of filtering records whose status 
is 'active'.  I can't format it the way I like (fieldname: 'active') 
because in this join, two tables have the 'status' field.  

So I have to include the tablename, then the fieldname, as 
`tablename[:fieldname]`.  Even using `tablename[:fieldname] => 'status'` is 
giving me an error.  

I've relegated this conditional clause to its own `where` directive, to 
keep things simple.  But it isn't working for some reason.

Anybody have any insight into qualifying records like that?  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/bcdda179-dbda-4488-aff4-3ed45ea6d124n%40googlegroups.com.

Reply via email to