Skip to content
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

Added versioning support #67

Merged
merged 7 commits into from Oct 28, 2011
Merged

Conversation

vivekprahlad
Copy link
Contributor

Hi Andreas,

This pull request adds versioning support, which is implemented by Neo4j::Rails::Versioning module. This patch is partly inspired by the Mongoid versioning approach. Whenever a rails model object is saved, a snapshot is made with links to all related entities. This implementation takes a 'Full snapshot' approach, with the ability to control the maximum number of versions. Future enhancements could include implementing delta snapshots.

Cheers,
Vivek

andreasronge added a commit that referenced this pull request Oct 28, 2011
@andreasronge andreasronge merged commit fab208c into neo4jrb:master Oct 28, 2011
andreasronge referenced this pull request May 18, 2014
…red specs from orm_adapter and using with defined Neo4j::ActiveNode models (thanks @ni-ka ).  Still some work to go to getting the shared specs passing including, I think, defining a way to query relationships as part of querying a model.  This is probably enough to get neo4j-devise gem running, but would also like to finish.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants