Forum: Ferret Constructing a query from an object

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.
Vamsee K. (Guest)
on 2006-01-06 14:41
(Received via mailing list)

    Apart from checking each field in an object created from form
params, is there an easy way I can construct a query from an object? For
example, I'm doing this:

@candidate =[:candidate])

And go on to check each attribute if it's blank and thereby constructing
a query. It's pretty common, so I'm guessing there should be a easier

This topic is locked and can not be replied to.