Hi there,
First SO question after using this place for reference on a lot of other things.. I'm nervous.
DataMapper.. Using Blog model for example (posts, comments etc - http://datamapper.org/docs/associations.html) I'm trying to workout how to get the blog posts that don't have any comments..
So something like Post.all(:comments => { :comment => nil })
Lot having much luck :(
I read on here that for complex reporting queries it's best to drop down to SQL, but surely there's a way of doing this isn't there SO?
Thanks in advance.