Skip to content
This repository has been archived by the owner on Dec 24, 2017. It is now read-only.

Can this be used with MongoMapper #1

Open
fourfour opened this issue Nov 13, 2010 · 1 comment
Open

Can this be used with MongoMapper #1

fourfour opened this issue Nov 13, 2010 · 1 comment

Comments

@fourfour
Copy link

I was looking for a versioning gem to use with MM and I ran across your gem. Can this be used with MM or just with AR?
Cheers.

@mrcljx
Copy link
Owner

mrcljx commented Nov 15, 2010

I just wrote an adapter for ActiveRecord ( lib/historical/active_record.rb ) which relies on AR's dirty-feature, the table attribute-list, and callbacks. Not very deep dependencies (maybe 10 function-calls) so you could try to extend Historical::ActiveRecord in your MM models and change the functions where needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants