From 2b63ada2a7aa39bfa24dc1d8b75c4634dbb97721 Mon Sep 17 00:00:00 2001 From: Nick Charlton Date: Tue, 20 Feb 2024 14:36:04 +0000 Subject: [PATCH] Add some more detail on field changes --- docs/migrating-to-v1.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/migrating-to-v1.md b/docs/migrating-to-v1.md index 1ac48a0fc8..f3d182bd45 100644 --- a/docs/migrating-to-v1.md +++ b/docs/migrating-to-v1.md @@ -11,6 +11,12 @@ As with most upgrades, if you're upgrading between versions with changes to the templates, and if you've customised them, you may need to apply recent changes. You can see those which changed in the [CHANGELOG][]. +This applies to both modified files in `app/views/admin` and `app/views/fields` +if you have your own Field classes defined. A good way is to use the same command +to generate the view as for the earlier version: +`rails generate administrate:views:ACTION MyModel` +noting the changes and re-applying the modifications + [2397]: https://github.com/thoughtbot/administrate/pull/2397 [CHANGELOG]: https://github.com/thoughtbot/administrate/blob/main/CHANGELOG.md