Hi folks. I'm new to Sequel. I'm having a hard time trying to count qualified records in a working dataset, *ds*:
puts ds.count(:id).where(kind: 'yellow').sql # => undefined method `where' for 115:Integer (NoMethodError) Is my syntax wrong? I can't generate sql for it as it throws an error. Is this improper syntax? Any help appreciated. 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/819d72b4-92b2-4e38-b7a5-270e694d3228%40googlegroups.com.
