rails how to use begin rescue code example
Example: rails begin rescue
begin
3 + '4'
rescue => e
puts e.class
puts e.message
puts e.trace
end
begin
3 + '4'
rescue => e
puts e.class
puts e.message
puts e.trace
end