I am getting a error I can't quite understand:
ArgumentError in FoodsController#create
wrong number of arguments (0 for 1)

here is the create code in my FoodsController:

def create
@food = Food.new(params[:food])

respond_to do |format|
if @food.save
flash[:notice] = 'Food was successfully created.'
format.html { redirect_to(@food) }
format.xml { render ml => @food, :status => :created, :location => @food }
else
format.html { render :action => "new" }
format.xml { render ml => @food.errors, :status => :unprocessable_entity }
end
end
end
Any direction would be great. Many thanks.