Hi people, with the attachment_fu plugin, how can i handle things when
errors occur with an image upload, so the user doesn't see a blank
screen on the production site.
Also in general how should I be handling form submit errors, I'm
return unless request.post?
#redirect to homepage if all ok
redirect_back_or_default(:action => 'profile')
#if not, redirect to signup page with message
flash[:notice] = "Sorry, something went wrong"
render :action => 'signup'