use find_or_create_by instead of rescue RecordNotUnique
authorTom Clegg <tom@clinicalfuture.com>
Sun, 23 Jun 2013 13:21:12 +0000 (09:21 -0400)
committerTom Clegg <tom@clinicalfuture.com>
Sun, 23 Jun 2013 13:21:12 +0000 (09:21 -0400)
commitfa988e247b287606a0e4ad0e910f151093387a0a
tree2e43c938140e60cc6dac934e65edcb8c05b56d87
parentf213d98b1c6bfd66d34734ac6e1059b759d005ac
use find_or_create_by instead of rescue RecordNotUnique
services/api/app/models/commit.rb