lib/paper_trail/config.rb
# As of PaperTrail 5, `track_associations?` defaults to false. Tracking
# associations is an experimental feature so we recommend setting
# PaperTrail.config.track_associations = false in your
# config/initializers/paper_trail.rb
#
# In PT 4, we checked `PaperTrail::VersionAssociation.table_exists?`
# here, but that proved to be problematic in situations when the database
# connection had not been established, or when the database does not exist
# yet (as with `rake db:create`).
As of PaperTrail 5, `track_associations?` defaults to false. Tracking
associations is an experimental feature so we recommend setting
PaperTrail.config.track_associations = false in your
config/initializers/paper_trail.rb

In PT 4, we checked `PaperTrail::VersionAssociation.table_exists?`
here, but that proved to be problematic in situations when the database
connection had not been established, or when the database does not exist
yet (as with `rake db:create`).
As of PaperTrail 5 ` track_associations? ` defaults to false . Tracking associations is an experimental feature so we recommend setting PaperTrail . config . track_associations = false in your config / initializers / paper_trail . rb In PT 4 we checked ` PaperTrail :: VersionAssociation . table_exists? ` here but that proved to be problematic in situations when the database connection had not been established or when the database does not exist yet ( as with ` rake db : create ` ) .
def track_associations?
      if @track_associations.nil?
        false
      else
        @track_associations
      end
    end
def track_associations? if @track_associations . nil? false else @track_associations end end
As of PaperTrail 5, `track_associations?` defaults to false.
As of PaperTrail 5 ` track_associations? ` defaults to false .