diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-04-14 12:02:48 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-04-14 14:13:51 +0100 |
commit | 97075669802ec9e99bbcb5b52f539b3e3bbf2487 (patch) | |
tree | ed4b03dbf38224d10ab1f2bd2edd6e971282546d /script/rails-deploy-before-down | |
parent | f1fd69bff059cf0dbd4c0e543dbd9d9079ea3be8 (diff) |
Handle validation errors in PublicBody.import_csv
Specifically using save! so that anything other than an
ActiveRecord::RecordInvalid doesn't get missed
Note that ActiveModel::Errors#full_messages includes the attribute key
in the message. This is by design, so we should consider whether we can
improve the way that we use translated validation messages.
Diffstat (limited to 'script/rails-deploy-before-down')
0 files changed, 0 insertions, 0 deletions