Re: form params help

Zac Elston
Wed, 13 Sep 2006 21:33:24 -0000

Jean-Etienne Durand wrote:
> <%= hidden_field ''package[]'',
''Name'', :value => p.Name  %> i guess

nope:
You have a nil object when you didn''t expect it!
You might have expected an instance of ActiveRecord::Base.
The error occured while evaluating nil.id_before_type_cast

32: <%= text_field ''package[]'', ''Name'',