search for: inventoriescontroller

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

2006 Apr 18
1
''wrong number of arguments'' for text_field?
...'disk.gif'' %> <%= end_form_tag %> ... _form.rhtml ------------------------------------------------- ... <%= text_field ''inventory'', ''quantity'' %> ... inventories_controller.rb ------------------------------------------------- class InventoriesController < ApplicationController ... def new case request.method when :get @inventory = Inventory.new logger.debug @inventory.inspect when :post @inventory = Inventory.new(params[:inventory]) if @inventory.save flash[:notice] = ''Inven...