Catching Error to be Displayed on Redirected Page


/ Published in: Ruby
Save to your folder(s)

Catches an exception error, uses a technique called flash to display error on another page.

The Ruby on Rails code needs to be in a controller.

The rhtml code needs to be in the index layout.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.