Marian Mrózek

Results 7 comments of Marian Mrózek

Maybe it can be optional - configurable?

How it should work actually? For example in case `embeds_many`, that parent is `Post` and children are `comments`. And one comment was changed, should be in `original` and `modified` all...

My temporary solution is: # app/models/concerns/mongoid/embedded_dirty_tracking.rb: module Mongoid module EmbeddedDirtyTracking extend ActiveSupport::Concern included do after_initialize :store_embedded_shadow after_save :store_embedded_shadow end def store_embedded_shadow @embedded_shadow = {} self.class.tracked_embedded.each do |rel_name| @embedded_shadow[rel_name] = tracked_embedded_attributes(rel_name).dup...

Should be fixed: https://github.com/alexkravets/heroku-mongo-backup/pull/22

I found out when it is happening. I am using MacBook with an external monitor. When the RubyMine is opened on the primary display (MacBook), it is working. But when...