Hello to All!
I have a problems with "date_select"
How to validate incorrect values
such as 30.02.2007 or 31.04.2007
A have a next error message:
ActiveRecord::MultiparameterAssignmentErrors in
AppointmentsController#create
1 error(s) on assignment of multiparameter attributes
Request
Parameters: {"commit"=>"Create",
"appointment"=>{
"meet_date(1i)"=>"2007",
"meet_date(2i)"=>"2",
"meet_date(3i)"=>"30",
"employee_id"=>"25",
"description"=>"",
"duration"=>"0",
"recurring_type"=>"1"}}
Who known about this?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---