Re: Help with Forms

Jej
Fri, 06 Feb 2009 21:20:57 -0000

Maybe a stupid remark: I don''t see any submit button in your form...


> However, this is not working at all. The view renders fine. But I am
> not sure why the id that is passed to the controller is totally out of
> whack. I have tried the following hash in the controller and it gives
> me an error that this is nil params[:product][:id]

You should have a look at the server'' logs. Find out something like:
Parameters: {...} to understand what is sent to the controller.

Jej


>
> In addition, it is complaining about the checkbox (i.e. false method
> passed)
>
> Could any of you tell me what hash to use in the controller?
>
> Thanks in advance