Forum: Ferret search by column

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sam (Guest)
on 2007-05-01 02:47

How can I search by concrete column in model?

For example I want to ba able to search only titles of posts. (and I
should be able to search bodies of posts too, of course)

thanx, Sam
Doug S. (Guest)
on 2007-05-01 02:55
(Received via mailing list)
In your query, enter the field name, followed by a colon like so:

q = "title:my title"
This topic is locked and can not be replied to.