Quick reminder for the try-catch equivalent in ROR world –
begin
…
rescue Exception=>e
@error_message
=
"#{$!}"
else
…
ensure
…end
Quick reminder for the try-catch equivalent in ROR world –
begin
…
rescue Exception=>e
@error_message
=
"#{$!}"
else
…
ensure
…end