Daniel (dB.) Doubrovkine

Results 3350 comments of Daniel (dB.) Doubrovkine

@francelwebdev Did you do what I suggested in https://github.com/mongoid/mongoid-history/issues/238#issuecomment-613456001?

This project is a safe place for you to try and figure it out @francelwebdev! Here to help. You should definitely be able to do 1-3 above. I'll do my...

I think this is a bug. I would expect this to work. It would be helpful if you could write a spec for this.

I want a test that reproduces the problem :) I think you described it perfectly well above, so that in code. Yes for fork/test/PR.

I'm down with this, it has always annoyed me that somehow creates and destroys would not be tracked by default. I wonder whether we should talk about this syntax in...

that site is https://github.com/mongoid/mongoid.github.io, and could use an HTTPs fix too :)

Why wouldn't one add a presence validator that makes the modifier required instead of doing all this work? Assuming that doesn't do the job, this needs tests to be merged....

Right, if the object is not `valid?` it won't save. That seems easier to express the same thing, no? Or what am I missing?

All I am saying is that this logic should be expressed differently than with an `if`. You should be able to save something with no modifier and disabling validation the...