Forum: Italian Ruby user group rescue

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.
Gino M. (Guest)
on 2008-12-02 01:11
Attachment: codice.txt (0 Bytes)
Ho una cosa del genere
Gino M. (Guest)
on 2008-12-02 11:04
Gino Ma wrote:
> Ho una cosa del genere

> Vedi allegato

Funziona se trasformo così
 rescue
      redirect_to(home_url) and return
    ensure
      flash[:error] = "Causale: #{causale} non trovata."
    end
This topic is locked and can not be replied to.