Docs: installation

The first note belongs in the rails_admin docs, not PT.

The second note .. First, if you use spring, you should be aware of its dangers.
Second, maybe this is automatic now, according to the spring docs:

> But if we edit any of the files which were used to start the application (configs,
> initializers, your gemfile), the application needs to be fully restarted. This happens automatically.
> https://github.com/rails/spring
This commit is contained in:
Jared Beck 2021-04-05 18:23:12 -04:00
parent 173dffa719
commit 15a018f669
1 changed files with 1 additions and 9 deletions

View File

@ -115,15 +115,7 @@ Experts: to install incompatible versions of activerecord, see
bundle exec rails generate paper_trail:install [--with-changes]
```
For more information on this generator, see [section 5.c.
Generators](#5c-generators).
If using [rails_admin][38], you must enable the
experimental [Associations](#4b-associations) feature.
If you're getting "Could not find generator 'paper_trail:install'" errors from
recent Ruby/Rails versions, try running `spring stop`
(see [this thread](https://github.com/paper-trail-gem/paper_trail/issues/459) for more details).
See [section 5.c. Generators](#5c-generators) for details.
```
bundle exec rake db:migrate