search for: filter_by_category

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

2010 Oct 19
0
Ajax & Table Display Filtering based on Selected Option
...be updated with just the products that have category equal to the selected category (i.e. a filtering operation). 1. File "_index.html.erb" has, <table id=''<%= dom_id(@department, :products) %>''> <thead> <tr> <%= select_tag("filter_by_category", options_from_collection_for_select(Categories.find(:all, :order => ''name''), :name, :name) %> <%= observe_field("filter_by_category", { :url => department_products_path(:department_id => @department.id),...