I am not sure if this is just unimplemented or I am doing it wrong,
but I am trying to do this sort of query:
Book.select { |b| b.title =~ /The/ && b.authors.id == @author_id }
Which currently seems to ignore the b.authors.id all together. This
would be pretty cool if it could work this way. I'm trying to
understand how the Query object for a join would need to be built.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---