foodcoops/foodsoft — pull request #185 by JuliusR (2013-10-08 20:19:43+00:00)
Title: Force update_attributes! in Order#finish; rescue if error raised

It has randomly happened in our production that an order could not be finished. Every time you tried it for that particular order, the `I18n.t('orders.finish.notice')` was shown and the user was redirected to the order but it was not finished.

There was no success in reproducing the error yet.

This shall care for the transaction (roll it back by raising an error) and show an appropriate error message.