Rails 4.0.0beta1. Carrierwave instead of paperclip. Code refactoring.