forked from mongodb/mongoid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONGOID-5560 Updates per rubocop (mongodb#5634)
* MONGOID-5560 alias EmbedsMany#delete_one to EmbedsMany#delete * MONGOID-5560 alias HasMany::Proxy#delete_one to HasMany::Proxy#delete * MONGOID-5560 alias HasAndBelongsToMany::Proxy#delete_one to HasAndBelongsToMany::Proxy#delete * rubocop appeasement * turns out, EmbedsMany::Proxy#delete_one *was* being used. Let's pull that out of private visibility, make it @api private, and give it a better name, besides. Should make it clearer that this has internal use outside of this class. * linter suggestions * preserve double underscore for certain backing variables this prevents conflicts with associations, which create backing variables prefixed with a single underscore * fix starts_with? -> start_with?
- Loading branch information
Showing
11 changed files
with
647 additions
and
558 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.