We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
define filter in controller:
search_filter :filtername, {options,:store_session=>true} do field :title, :string, {options,..} field :category_id, :string, {options,..} end
it creates a new method in controller
filter:
class Filter - object methods:
.get_where - makes where from filter values
your model:
def search
When the form is submitted it uses param filter_cmd=apply
filter_cmd=apply