Displaying 1 result from an estimated 1 matches for "department_products_path".
2010 Oct 19
0
Ajax & Table Display Filtering based on Selected Option
...<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),
:method => :get,
:frequency => 0.5,
:with => "''filter_by_category='' + value" })
%>
</tr>
<tr> <td>id</td> <t...