Forum: Ruby on Rails Search question

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.
Cm M. (Guest)
on 2006-05-08 00:55
Hello, I have an apartments table with these fields
id, rooms, floor, price, date_added

How do I make a search after these fields. I mean I have the form done,
but I don't know how to make the search. It can be none, one, or more of
these fields.

Anyone has an example? thanks
This topic is locked and can not be replied to.