# Oracle date column with date\_select helper

**URL:** <https://www.ruby-forum.com/t/oracle-date-column-with-date-select-helper/116230>\
**Category:** Rails\
**Created:** [October 3, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/oracle-date-column-with-date-select-helper/116230 "2007-10-03T17:31:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitsmith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Post date:** [October 3, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/oracle-date-column-with-date-select-helper/116230/1 "2007-10-03T17:31:54Z")

</div>

…help…using oracle 9i

 Birthdate: \<%= date\_select :spec, :birthdate, :start\_year =\> Spec::START\_YEAR, :end\_year =\> Time.now.year, :discard\_hours =\> true, :discard\_minutes =\> true, :discard\_seconds =\> true, :order =\> [:year, :month, :day] %\> 
and when run.... i get this.... ActiveRecord::MultiparameterAssignmentErrors in SpecController#edit

1 error(s) on assignment of multiparameter attributes

RAILS\_ROOT: ./script/…/config/…  
Application Trace | Framework Trace | Full Trace

C:/ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/base.rb:2094:in  
`execute_callstack_for_multiparameter_attributes' C:/ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:2074:in`assign\_multiparameter\_attributes’  
C:/ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/base.rb:1675:in  
`attributes=' C:/ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1591:in`update\_attributes’  
C:/ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/associations/association\_proxy.rb:123:in  
`send' C:/ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/associations/association_proxy.rb:123:in`method\_missing’  
#{RAILS\_ROOT}/app/controllers/spec\_controller.rb:17:in `edit’  
Parameters: {“commit”=\>“Update”, “spec”=\>{“city”=\>“warlock”,  
“occupation”=\>“witch”, “zip\_code”=\>“44114”, “birthdate(1i)”=\>“1954”,  
“gender”=\>“Male”, “birthdate(2i)”=\>“8”, “birthdate(3i)”=\>“13”,  
“first\_name”=\>“exampl”, “last\_name”=\>“example”, “state”=\>“ohio”}}
