Hi,

I'm using the following property in a Post class

  property :tags,         String

This is a space separated list of tags for that post.

I want to be able to find tags with a specific tag (ruby for eg) and
thought this code would work:

Post.all(:tags.like => "ruby")

But this returns no records, even though there are definitely some
posts tagged with "ruby".

Does anybody know how to get this working?

Also, is there a DataMapper function that could create a list of all
the tags from all posts in a single call?

-- 
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.

Reply via email to