search for: inventories_controller

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

2006 Apr 18
1
''wrong number of arguments'' for text_field?
...ender :partial => ''form'' %> <%= image_submit_tag ''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[...