Daniel (dB.) Doubrovkine

Results 3350 comments of Daniel (dB.) Doubrovkine

I think it could be nice. For example: ``` ruby instance.track_history do # changes go here end # changes combined into a single one ``` That would accumulate the changes....

Maybe. Everything in a block can be unwrapped of course.

How do you do a bulk insert? If it's via `collection.insert`, you're effectively bypassing Mongoid and going to the MongoDB ruby driver, so there're no callbacks as far as I...

Oh that's new, I've never used it. I think for a bulk write we'd want a bulk history update, so some kind of extension that goes over documents, figures out...

Shouldn't be too hard to implement, looking forward to your PR @vanboom! :+1:

I haven't made progress on it and probably won't any time soon.

I doubt that this was ever intentional.

This should be possible with some work. You can undo multiple changes with `x.undo! :last => 3` today, but not by calling `undo` 3 times. I can see something like...

It sounds like the path is wrong, it should include the company in there, shouldn't it? How is that `user_achievements_path` generated? AFAIK that's not something that comes from mongoid-slug.

I honestly don't know, I'll leave this open maybe you can dig this up?