Mongoid Paranoia Sync#66
Merged
Merged
Conversation
added 10 commits
July 2, 2013 16:50
Collaborator
There was a problem hiding this comment.
There is no difference here ;)
Author
There was a problem hiding this comment.
I know, I was just taught to put certain SQL phrases in all caps, just a style thing -- I can undo if you'd like
Collaborator
There was a problem hiding this comment.
I am pedantic but not that pedantic. Leave it be :)
Collaborator
|
Please remove the require for debugger and then this patch is good to go. |
Author
|
Should be good to go |
Collaborator
|
Merged, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm adding some aliases to scopes so that the methods sync with Mongoid Paranoia methods. We're using polygot databases and I think it's nicer to have consistent methods across components tasked with doing the same thing.
Maybe one day I'll combine the two gems to work with ActiveRecord & Mongoid.
Also contains formatting changes. If you use different formatting settings with your IDE I can adjust.
https://github.com/simi/mongoid-paranoia