about summary refs log tree commit diff
path: root/db/migrate/20170205175257_remove_devices.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-05-31 17:22:33 +0200
committerGitHub <noreply@github.com>2018-05-31 17:22:33 +0200
commitfb1ae0152d399db863457963890310a500863b02 (patch)
treefb145d012a6751db61153bf8a7b30482adc26864 /db/migrate/20170205175257_remove_devices.rb
parent19b4c666f7f760986be4215ea874f951c617a0df (diff)
Wrong exception class: ActiveRecord::RecordNotUnique, not PG::UniqueViolation (#7688)
* Wrong exception class: ActiveRecord::RecordNotUnique, not PG::UniqueViolation

It's completely not obvious but PG::UniqueViolation is just a string inside the exception message, not the actual class of the exception

* Favourite does not have target_account_id
Diffstat (limited to 'db/migrate/20170205175257_remove_devices.rb')
0 files changed, 0 insertions, 0 deletions