Skip to content

Commit b70962d

Browse files
committed
Improve Readme
- Remove reference to Rails 3 - Document `self.table_name` usage Close #335, close #336
1 parent e2c9dfc commit b70962d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ the `:validity` option:
146146
change_table :your_table, temporal: true, copy_data: true, validity: '1977-01-01'
147147
```
148148

149-
Please note that `change_table` requires you to use *old_style* `up` and
150-
`down` migrations. It cannot work with Rails 3-style `change` migrations.
149+
Please note that `change_table` requires you to use `up` and `down` migrations.
151150

152151

153152
## Selective Journaling
@@ -361,6 +360,10 @@ Ensure to run the full test suite before pushing.
361360

362361
* `*_by_sql` query methods are not supported. [See issue #313][gh-issue-313]
363362

363+
* `self.table_name` must be set before `include ChronoModel::TimeMachine`.
364+
[See issue #336][gh-issue-336]
365+
366+
364367
## Contributing
365368

366369
1. Fork it
@@ -428,3 +431,4 @@ This software is Made in Italy :it: :smile:.
428431
[gh-issue-192]: https://github.com/ifad/chronomodel/issues/192
429432
[gh-issue-206]: https://github.com/ifad/chronomodel/issues/206
430433
[gh-issue-313]: https://github.com/ifad/chronomodel/issues/313
434+
[gh-issue-336]: https://github.com/ifad/chronomodel/issues/336

0 commit comments

Comments
 (0)