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.
4338d1d60dbb0eca2c74eb0ae5ffb9d3?d=identicon&s=25 Gino Ma (sij)
on 2008-12-02 00:11
Attachment: codice.txt (662 Bytes)
Ho una cosa del genere
4338d1d60dbb0eca2c74eb0ae5ffb9d3?d=identicon&s=25 Gino Ma (sij)
on 2008-12-02 10: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.