Am 23.08.2007 um 09:52 schrieb Stephan Beck:
Folgender Code:
@anmeldung = TAddressitems.find(:first,
:conditions => ["addressitemid=? AND lastname=? AND
firstname= ?",
params[:addressitemid].to_i, params
[:lastname], params[:firstname]])
Also ich kürz solche Fehlerquellen immer soweit wie möglich/nötig.
In diesem Fall also erstmal die conditions komplett raus, falls es
das schon war dann wieder rein damit und die params durch fixe Werte
ersetzen.
ciao, tom
--
Thomas R. "TomK32" Koll <> http://tomk32.de <> http://kampodscha.com
just a geek trying to change the world
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug