Rails.application.config.to_prepare do Qbrick::Engine.configure do config.image_sizes.build_defaults! # creates 960x540 and 320x180 sizes end end