Re: problem date_select with active_form

Aldo Italo
Thu, 17 Sep 2009 13:40:53 -0000

Amar Daxini wrote:
> Aldo Italo wrote:
>> any idea?
>
> Check your params[:contact] how it passes
> check params period how it passed
> or you can do this thing make setter method combine this hash 3 value


my errors:
/...../vendor/plugins/active_form/lib/active_form.rb:17:in
`instance_variable_set''
/...../vendor/plugins/active_form/lib/active_form.rb:17:in `[]=''
/...../vendor/plugins/active_form/lib/active_form.rb:6:in `initialize''
/...../vendor/plugins/active_form/lib/active_form.rb:5:in `each''
/...../vendor/plugins/active_form/lib/active_form.rb:5:in `initialize''
/...../app/controllers/front/sections_controller.rb:60:in `new''
/...../app/controllers/front/sections_controller.rb:60:in
`form_contact''


parameters:

{"contact"=>{"name"=>"",
 "period(3i)"=>"17",
 "info"=>"",
 "phone"=>"",
 "newsletter"=>"0",
 "privacy"=>"0",
 "surname"=>"",
 "period(1i)"=>"2009",
 "email"=>"",
 "period(2i)"=>"9"},
 "authenticity_token"=>"lWLs2p54kCr4Ymwj9DVBIvtmkdGtwZ/R8uvXZw8Sx14="}