plataformatec/devise — Issue #1599: date_select and devise 1 error(s) on assignment of multiparameter attributes
Author: suely
Created: 2012-01-25 14:23:53+00:00
State: open

using ruby 1.9.2, rails 3.1.3, devise 1.5.3

IN MY REGISTRATIONS/NEW I HAVE:

<%= f.label :fecha_de_vencimiento %>

<%= f.date_select :fecha_vencimiento, {:start_year => 2011, :end_year => 2050, :include_blank => true} %>

WHEN THE USER TRY TO SIGN UP, I GET::

ActiveRecord::MultiparameterAssignmentErrors in Devise::RegistrationsController#create

1 error(s) on assignment of multiparameter attributes
Rails.root: C:/Ruby192/sitiowebandinatech/encuestador2

Application Trace | Framework Trace | Full Trace
Request

Parameters:

{"utf8"=>"✓",
"authenticity_token"=>"ObzcNjdTP71I7UICNipkuy9g9Q2QEZlzXrn3imfWB+k=",
"user"=>{"tipo_tarjeta"=>"visa",
"numero_tarjeta"=>"1111111",
"nombre_en_tarjeta"=>"juan",
"fecha_vencimiento(1i)"=>"1901",
"fecha_vencimiento(2i)"=>"1",
"fecha_vencimiento(3i)"=>"1",
"cvv"=>"1234",
"nombre"=>"juan",
"apellidos"=>"perez",
"mail_facturacion"=>"juan@gmail.com",
"mail_facturacion_alternativo"=>"otro@gmail.com",
"nombre_empresa"=>"juanito limitada",
"pais"=>"Chile",
"direccion"=>"av siempre viva 123",
"ciudad"=>"santiago ",
"codigo_postal"=>"123123",
"numero_telefono"=>"2651313",
"numero_orden_compra"=>"100000",
"email"=>"juanito@gmail.com",
"password"=>"[FILTERED]",
"password_confirmation"=>"[FILTERED]"},
"commit"=>"Registrarse"}