Displaying 1 result from an estimated 1 matches for "initialize_grid".
2009 Feb 07
0
wice grid
...softwares_path
(:hardware_id,isoftware)
end
end %>
here is controller view:
class InstalledSoftwaresController < ApplicationController
def index
# @hardware = Hardware.find(params[:hardware_id])
# @softwares = @hardware.find(:hardware_id).installed_softwares
@installed_softwares = initialize_grid(InstalledSoftware,
:include => :software,
:conditions => [''hardware_id = ?'',params
[:hardware_id]],
:per_page => 20)
end
THanks in advance for your help
--~--~---------~--~----...