Daniel (dB.) Doubrovkine

Results 3350 comments of Daniel (dB.) Doubrovkine

I really like the `without_validating` (maybe `without_validation`) suggestion, this is _much_ cleaner. This is similar to `save(validate: false)` of some ORMs.

I think `Thread.current` is fairly standard, check out https://github.com/mongoid/mongoid/blob/1f3875a0a98a089f5d54331191ea9bf8a2c3e755/lib/mongoid/relations/accessors.rb#L138 which uses some solid infrastructure for this kind of stuff.

Is this really about Psych or something more generic? I believe `encode_with` and `init_with` are more general Ruby serialization properties, so likely the class shouldn't be called `PsychSerialization`, but maybe...

Yes, and make a PR. Maybe even with a fix?

Actually maybe not. You get a `Mash`? A `Hash`? Now that I'm looking at it I think we either convert subhashes into Mash or leave them alone, otherwise you can't...

To Mash's defense it's designed to chew data. Feel free to try and fix this, we can look at a PR and think about the implications.

I would be down with this.

@mkcode That makes sense and is certainly ambitious, but who dares wins!

@mkcode I am. One of. Trying to. Along with some other lovely people. I have the glorious merge/release privileges ;)