Learn how to rescue from errors in a Ruby on Rails controller
Sometimes you have to rescue from errors in your Ruby on Rails controller. You mostly would need to rescue from ActiveRecord::RecordNotFound exception raised when you did a query but your record was not present in the database. But what is the best way to rescue from errors? READ MORE
Post a comment