Displaying 1 result from an estimated 1 matches for "jkdsfadslkjflksd".
2007 Jul 21
3
manging rescues
...'s the recommended way to catch errors like this:
NoMethodError in Register#confirm
Showing app/views/register/confirm.rhtml where line #4 raised:
undefined method `namen'' for nil:NilClass
I get this error when someone does somethinh like:
http://.........../register/confirm?email=jkdsfadslkjflksd
If I make:
remail = params[:email]
@user = Request.find(:first, :conditions => ["email = ?", remail])
the error occurs.
What''s the prefered way to react when such an error occurs?
--
Jochen Kaechelin
gissmoh.de, figgfrosch.de, ror-ror.de
--~--~---------~--~----~---...