Displaying 4 results from an estimated 4 matches for "verkaufslistes".
Did you mean:
verkaufsliste
2006 Apr 18
1
inserting value got problem
Parameters: {"bestandsliste"=>{"typ"=>"bumffer", "KundanName"=>"parikshit", "Abgeholt"=>"", "LieferLand"=>"", "Kaufmann"=>"birla", "Marge"=>"", "Erzieltervk"=>"", "LieferOrt"=>"",
2006 Apr 17
1
can we take two argument in params
hi everybody
i made two tables 1)bestandslistes and 2)verkaufslistes
i have one form given below*****
Hersteller
Kaufmann
Typ
KundenName
''customer'' %>
VK Datum
now in controller i made this code for insert a value in verkaufslistes table*****
@verkaufslistes = Verkaufsliste.new(params[:bestandsliste])
if @verkauf...
2006 Apr 18
0
undefined method `stringify_keys!'' for "Tue Apr 18 11:26:00 India Standard Time 2006":String
hi all
i am submitting form and i take valu from two text fields.
my controller code is like that
def saleinsert
@verkaufsliste = Verkaufsliste.create(params[:bestandsliste])
@listes = Verkaufsliste.create(params[:verkaufsliste.to_s])
@verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s)
if @verkaufsliste.save
redirect_to :action => ''list''
else
2006 Apr 18
0
Re: undefined method `stringify_keys!'' for "Tue Apr 18 11:26
> @verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s)
I think it''s better to use strftime(''%d %B %Y'') for .to_s.
strftime is a great function that you can redefine easily (in German for
example ;)
++
o_O Pierre Marchet
--
Posted via http://www.ruby-forum.com/.