Identity map + carrierwave-mongoid problem #58

Merged
merged 1 commit into from Sep 24, 2012

Projects

None yet

2 participants

@Exoth

When the identity map is enabled, find_previous_model_for_#{column} takes the already modified object from the identity map, so we need to use for_ids, as it ignores the identity map. Another way would be to temporarily disable the identity map.

@rmm5t rmm5t merged commit 369a6df into carrierwaveuploader:master Sep 24, 2012
@rmm5t
CarrierWave member

Thanks. Merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment