We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class Human include Mongoid::Document end human = Human.create #=> #<Human _id: 5605a9a71942d01471000002, > human.update #=> true Mongoid::Compatibility::Version.mongoid5? #=> true class Robot include Mongoid::Document include Mongoid::Paranoia end robot = Robot.create #=> #<Robot _id: 5605a9d11942d01471000003, deleted_at(deleted_at): nil> robot.update # NoMethodError: private method `update' called for #<Robot:0x00000103c2ecd8>
The update method: https://github.com/mongodb/mongoid/blob/ffad088b8c75390d01424494f17eb25ac285db90/lib/mongoid/persistable/updatable.rb#L40-L54
The text was updated successfully, but these errors were encountered:
@dblock this is related to
mongoid_paranoia/lib/mongoid/paranoia.rb
Lines 196 to 207 in b7631ce
_paranoia_update
Sorry, something went wrong.
@simi Sounds like it!
simi
Successfully merging a pull request may close this issue.
The update method: https://github.com/mongodb/mongoid/blob/ffad088b8c75390d01424494f17eb25ac285db90/lib/mongoid/persistable/updatable.rb#L40-L54
The text was updated successfully, but these errors were encountered: