Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

Here is peace of code:
User.transaction do
User.destroy_all "id = #{params[:id]}"
@user.update_attributes!(params[:user])
raise
end
User class objects are removed from DB, and @user object attributes
are updating, despite of Exception in the transaction block :((
How can I rollback transaction if Exception throw in transaction
block ?
Thanks,
bioform