Displaying 1 result from an estimated 1 matches for "devicescontroller".
Did you mean:
device_controller
2006 Jan 25
9
AJAX Search w/database results
...;%=h device.make %></td>
<td><%=h device.model %></td>
<td><%=h device.description %></td>
<td><%= device.person.fname %> <%= device.person.lname %></td>
</tr>
<% end %>
--------------------------
My DevicesController for the two actions:
def list
device_pages, @devices = paginate :devices, :per_page => 10
end
def search
@device_pages, @devices = paginate( :devices,
:conditions => ["description like
?",''%''+params[:description]+'...