search for: product_datum_pag

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

Did you mean: product_datum_pages
2006 Mar 21
2
Rails newbie can''t initialize a new Paginator object
...nation in a list action. Here''s my code: def list getSearchTerms # NOTE: @params[:search_results] is an Array of product_data objects # returned by a search action. @results = @params[:search_results] if @results.nil? then # The default list of all product_data @product_datum_pages, @product_data = paginate :product_data, :per_page => 10 else page = (@params[:page] ||= 1).to_i offset = (page - 1) * 10 # Note: ERROR OCCURS HERE # I''ve tried both: # ActionController::Pagenator.new and # ActionController::Pagination::Pagi...