diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-11-18 12:09:36 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-11-18 12:10:53 +0000 |
commit | a7997eae1ac3862fd49696750afed38dbaab11a4 (patch) | |
tree | 92c5149aca961eaad093af58c10ee1a585c81d3b | |
parent | 68d3bd7c8f1bd1c1a120f755ac174c97ffa119db (diff) |
Emphasise public body categories upgrade step
-rw-r--r-- | doc/CHANGES.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 8260e46f1..c441735b2 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -28,6 +28,7 @@ For example: ## Upgrade Notes +* Public body categories will now be stored in the database rather than being read directly from the `lib/public_body_categories_LOCALE` files. **Once you have upgraded, run `script/migrate-public-body-categories`to import the contents of the files into the database. All further changes will then need to be made via the administrative interface.** You can then remove any `pubic_body_categories_[locale].rb` files from your theme. If your theme has any calls to `PublicBodyCategories` methods outside these files, you should update them to call the corresponding method on `PublicBodyCategory` instead. * `OutgoingMessage#send_message` has been removed. We now perform email deliveries outside of the model layer in three steps: Example: @@ -58,7 +59,6 @@ See https://github.com/mysociety/alaveteli/pull/1889 for the full changes and fe rather than only as a database constraint. If you have added a `CensorRule` in your theme, you will now have to satisfy the additional validations on the `:replacement`, `:last_edit_comment` and `:last_edit_editor` attributes. -* Public body categories will now be stored in the database rather than being read directly from the `lib/public_body_categories_LOCALE` files. Once you have upgraded, run `script/migrate-public-body-categories`to import the contents of the files into the database. All further changes will then need to be made via the administrative interface. You can then remove any `pubic_body_categories_[locale].rb` files from your theme. If your theme has any calls to `PublicBodyCategories` methods outside these files, you should update them to call the corresponding method on `PublicBodyCategory` instead. * `CensorRule#require_user_request_or_public_body`, `CensorRule#make_regexp` and `CensorRule#require_valid_regexp` have become private methods. If you override them in your theme, ensure they are preceded by the `private` keyword. |