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

Persistence for mongoid (MongoDB) #42

Closed
michaltaberski opened this issue Dec 14, 2011 · 2 comments
Closed

Persistence for mongoid (MongoDB) #42

michaltaberski opened this issue Dec 14, 2011 · 2 comments
Assignees

Comments

@michaltaberski
Copy link
Contributor

I couldn't find any info about AASM working with mongoid (MongoDB). Of course great part of the gem is independent of database, however there is persistence module for active_record. Do anybody know about equivalent of active_record_persistence.rb for mongoid?

@alto
Copy link
Member

alto commented Dec 19, 2011

Hi Michał,

There is a fork on AASM providing a mongoid adapter: https://github.com/jsmestad/aasm , but since it's already pretty old and I'm not using mongoid myself I don't know if it's running or not. Maybe you can give it a try and tell me how things went. If everything's fine, I will include the changes into the official AASM.

@ghost ghost assigned alto Dec 19, 2011
@michaltaberski
Copy link
Contributor Author

Hi,

I used this version. I had to fix some things, but now works nice. I did a pull request.

https://github.com/rubyist/aasm/pull/43

@alto alto closed this as completed Dec 21, 2011
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

No branches or pull requests

2 participants