title: Can I store a custom version of object_changes in paper_trail?
body: <p>When using paper_trail (<a href="https://github.com/paper-trail-gem/paper_trail" rel="nofollow noreferrer">https://github.com/paper-trail-gem/paper_trail</a>), is there a more efficient way to store object_changes? Especially for jsonb columns, a large amount of data is stored in the table as it stores the entire value of the field before and after the change was made, even if the change was one key in a large object. </p>
  
  <p>Right now, when I send it to the view I am using Hashdiff (<a href="https://github.com/liufengyun/hashdiff" rel="nofollow noreferrer">https://github.com/liufengyun/hashdiff</a>) to find the specific things that were changed, but I have to run this every time a view is loaded, plus there is a large load on the db as the entire field change is stored every time - versions is by far my largest table.</p>
  
  <p>Is there an option of storing the Hashdiff directly in the object_changes and dumping that into the view every time it is loaded? It would make things a lot faster and less load on the db.</p>