I use a wiki style site and want to highlight the changes made to articles between consecutive versions. Using htmldiff to highlight changes works fine, except that it's pretty intense. I am using the awesome vestal_versions plugin for version control.
So what's the best way to handle this? I believed that the on_create callback when creating the version creates a delayed job that processes and then saves the processed htmldiff article (in the version table row).
If this is a good approach, how can I extend vestal_versions without touching the gem? Or maybe there will be a better approach.
Any advice is greatly appreciated. :)
source
share