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.
52e294c66dcb0751ed966573329175f4?d=identicon&s=25 Sam (Guest)
on 2007-05-01 00: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
0b437712d774b52475c8d265d72ae4b1?d=identicon&s=25 Doug Smith (Guest)
on 2007-05-01 00: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.