paperclip AR and Mongoid working together

paperclip AcitveRecord and Mongoid working together
I just commented this line

Paperclip.interpolates :id_partition do |attachment, style|
  attachment.instance.id.to_s.scan(/.{4}/).join("/")
end