Rails Rescue met une erreur

begin
  # do something that fails...
rescue => error
  # error and $! are equivalent here
end
Lioruby