[Rails] inserting value got problem

parikshit
Tue, 18 Apr 2006 18:11:59 -0000

Parameters:
{"bestandsliste"=>{"typ"=>"bumffer",
"KundanName"=>"parikshit",
"Abgeholt"=>"", "LieferLand"=>"",
"Kaufmann"=>"birla", "Marge"=>"",
"Erzieltervk"=>"",
"LieferOrt"=>"",
"Hersteller"=>"birla"},
"commit"=>"Verkaufsliste",
"verkaufsliste"=>{"vkdatum(1i)"=>"2006",
"vkdatum(2i)"=>"4",
"vkdatum(3i)"=>"18",
"vkdatum(4i)"=>"17",
"vkdatum(5i)"=>"12"}}

 hi every body i want to insert above value but cant able to insert date  how i
can do that.
plese reply me i juct do this in my controller
if request.post?
     @verkaufsliste = Verkaufsliste.new(@params[:bestandsliste])

 end
if @verkaufsliste.save
      redirect_to :action => ''list''
else
   render :action => ''sale''
 end
end