Displaying 1 result from an estimated 1 matches for "budjet_lteq".
Did you mean:
budjet_gteq
2013 May 27
3
Ransack, acts-as-taggable-on and checkboxes in search form
...checkboxes for tags?
Here''s my form for search:
= search_form_for @search do |f|
- @categories.each do |category|
= check_box_tag(''q[category_id_eq_any][]'', category.id)
= category.name
= f.text_field :budjet_gteq
= f.text_field :budjet_lteq
- @tags.each do |tag|
= check_box_tag(''q[tags_id_eq_all][]'', tag.id)
= tag.name
That''s what i have in console after submiting the form (so i have no tags
query at all, even though i checked two checkboxes):
Processing by ProjectsController#ind...