close #392; Update README instructions to include instructions for how to use a custom initializer and prevent breakage of the Rails::Engine functionality [ci skip]
This commit is contained in:
parent
44dcdbaaa3
commit
b9b0d17768
|
@ -721,6 +721,10 @@ For example:
|
|||
|
||||
```ruby
|
||||
# config/initializers/paper_trail.rb
|
||||
|
||||
# the following line is required for PaperTrail >= 3.0.3 with Rails
|
||||
PaperTrail::Rails::Engine.eager_load!
|
||||
|
||||
module PaperTrail
|
||||
class Version < ActiveRecord::Base
|
||||
attr_accessible :author_id, :word_count, :answer
|
||||
|
|
Loading…
Reference in New Issue