jnunemaker/mongomapper — pull request #439 by karolciba (2012-07-17 17:56:49+00:00)
Title: Leaving updated_at alone if nothing changed.

I've made simple patch, regarding leaving updated_at alone if nothing has changed when doing save - just as it's happening with active_model. With tests.

Unfortunately, that change had broken EmbeddedDocument test. Because there is anonymous ancestor injected somewhere (I suppose by ActiveModel::Dirty), apparently that's okay with mongomapper's Document but not with EmbeddedDocument. I've tried to fix it but I've failed - I'm not proficient enough.

I'll appriciate if you could fix it or give me instructions how to start fixing it.

Best regards,
Karol Ciba