Robin Ward a075fd46fd FIX: Don't use exceptions to catch conflicts
If a database exception is raised ActiveRecord will always rollback
even if caught.

Instead we build the query in manual SQL and DO NOTHING when there's a
conflict. If we detect nothing was done, perform an update.
2019-07-06 14:43:56 -04:00
..
2019-01-11 14:30:19 -05:00
2019-05-13 15:24:24 +01:00
2019-05-29 14:26:24 +10:00
2019-05-13 15:24:24 +01:00
2019-05-25 00:32:29 +02:00
2019-05-24 12:58:26 +08:00
2019-05-29 14:26:24 +10:00
2019-04-08 17:03:26 +05:30