NoMethodError in IssuesController#edit

undefined method `description=' for #<Attachment:0x36ce9ec>

RAILS_ROOT: d:/Program Files/BitNami Redmine Stack/redmine

Application Trace | Framework Trace | Full Trace
vendor/rails/activerecord/lib/active_record/attribute_methods.rb:200:in `method_missing'
vendor/rails/activerecord/lib/active_record/base.rb:2117:in `send'
vendor/rails/activerecord/lib/active_record/base.rb:2117:in `attributes='
vendor/rails/activerecord/lib/active_record/base.rb:2116:in `each'
vendor/rails/activerecord/lib/active_record/base.rb:2116:in `attributes='
vendor/rails/activerecord/lib/active_record/base.rb:1926:in `initialize'
vendor/rails/activerecord/lib/active_record/base.rb:571:in `new'
vendor/rails/activerecord/lib/active_record/base.rb:571:in `create'
app/controllers/application.rb:173:in `attach_files'
app/controllers/application.rb:170:in `each_value'
app/controllers/application.rb:170:in `attach_files'
app/controllers/issues_controller.rb:182:in `edit'

Request

Parameters:

{"time_entry"=>{"comments"=>"",
 "activity_id"=>"8",
 "hours"=>""},
 "commit"=>"提交",
 "id"=>"122",
 "notes"=>"实施",
 "issue"=>{"start_date"=>"2008-04-08",
 "estimated_hours"=>"4",
 "lock_version"=>"3",
 "priority_id"=>"4",
 "subject"=>"防火墙技术方案交流",
 "category_id"=>"2",
 "fixed_version_id"=>"2",
 "description"=>"服务时间:下午两点\r\n服务地址:中关村北二街四号水木清华五号楼242房间",
 "assigned_to_id"=>"13",
 "due_date"=>"2008-04-08",
 "done_ratio"=>"20"},
 "custom_fields"=>{"9"=>"TOPSEC",
 "2"=>"李毓"},
 "attachments"=>{"1"=>{"description"=>"",
 "file"=>#<ActionController::UploadedStringIO:0x370e858>}}}

Show session dump

Response

Headers:

{"cookie"=>[],
 "Cache-Control"=>"no-cache"}