From 76274a6f9712d87b21fd72639a14a19854587093 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 6 Dec 2024 16:18:29 +0100 Subject: [PATCH] Improve Readme - Remove reference to Rails 3 - Document `self.table_name` usage Close #335, close #336 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62378e0..bb83b3a 100644 --- a/README.md +++ b/README.md @@ -146,8 +146,7 @@ the `:validity` option: change_table :your_table, temporal: true, copy_data: true, validity: '1977-01-01' ``` -Please note that `change_table` requires you to use *old_style* `up` and -`down` migrations. It cannot work with Rails 3-style `change` migrations. +Please note that `change_table` requires you to use `up` and `down` migrations. ## Selective Journaling @@ -361,6 +360,10 @@ Ensure to run the full test suite before pushing. * `*_by_sql` query methods are not supported. [See issue #313][gh-issue-313] + * `self.table_name` must be set before `include ChronoModel::TimeMachine`. + [See issue #336][336] + + ## Contributing 1. Fork it @@ -428,3 +431,4 @@ This software is Made in Italy :it: :smile:. [gh-issue-192]: https://github.com/ifad/chronomodel/issues/192 [gh-issue-206]: https://github.com/ifad/chronomodel/issues/206 [gh-issue-313]: https://github.com/ifad/chronomodel/issues/313 +[gh-issue-336]: https://github.com/ifad/chronomodel/issues/336