Forum: Ruby on Rails inserting value got problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9e501a3637249870caa484c751a45995?d=identicon&s=25 parikshit (Guest)
on 2006-04-18 20:13
(Received via mailing list)
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
This topic is locked and can not be replied to.