-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Implementing version history with cloure_tree. #27
Comments
I don't understand your model well enough to know what you're asking. Why Generally speaking, to show version control hierarchies like git, you'd Matthew On Nov 19, 2012, at 8:03 AM, Rafael Vega [email protected] wrote: Hi, I already posted this question at I have a custom CMS implementation that stores content nodes using the The time has come for me to implement a version history where any change in Is there a well known way to achieve this? or does anyone have an idea or Thanks! — |
Hi @rvega, you may have a look at chronomodel, a Slowly-Changing Dimension implementation for PostgreSQL. I'm using it in combination with Closure Tree, and except for #29 it works perfectly. Ciao, ~Marcello |
@vjt Thanks, I will take a look at it! |
You're welcome :-) To be honest, by the way, ChronoModel doesn't work on the Let me know on the ChronoModel project itself - as I think that I've already spammed this project enough ;-) |
@rvega ChronoModel now works with closure_tree's Quick demonstration:
|
@vjt nice! Closing. |
Hi, I already posted this question at http://stackoverflow.com/questions/13457479/implementing-version-history-with-a-closure-table-schema but I thought I should get mceachen's attention on it:
I have a custom CMS implementation that stores content nodes using the closure_tree gem.
The time has come for me to implement a version history where any change in the content tree (editing, inserting, moving, deleting nodes, etc.) would create a new version of the root node (a publication). And users would be able to look at older versions and revert back to them. The revert action would create a newer version which is a copy of the reverted one.
Is there a well known way to achieve this? or does anyone have an idea or example implementation for this sort of thing?
Thanks!
The text was updated successfully, but these errors were encountered: