Lock paperclip dependency