I also have a problem with that from time to time ;)
Its "begin rescue ensure end"
begin
somecode()
rescue
puts "Error #{$!}"
ensure
this_code_will_execute_always()
end
Ror hints
begin
somecode()
rescue
puts "Error #{$!}"
ensure
this_code_will_execute_always()
end
1 error prohibited this user from being saved
there were problems with the following fields:
....
form_for(@user,:url => { :action => "login" }) do |f| %>
f.error_messages(
:header_message => 'X errors, please find red marks',
:message => 'Following errors were found:')
Can't install RMagick. Can't find MagickCore.h