search for: group_find

Displaying 1 result from an estimated 1 matches for "group_find".

Did you mean: group_finder
2006 Jul 02
2
searchbar help!
...onding ones, and display them. the searchbar looks like this: <%= start_form_tag :action => ''search'' %> <input type="text" name="search_bar" > <% for group in @groups %> <input type="checkbox" name="group_finder[<%= group.id %>]" > # a checkbox for each group, to be chosen by the searcher-guy <% end %> <%= submit_tag ''search'' %> <%= end_form_tag %> and then the controller action looks like this: def search a = [] @groups = Group....