title: CarrierWave + RMagick Square Crop?
body: <p>I am trying to make a fixed square image crop with Ruby on Rails, CarrierWave, and RMagick.</p>
  
  <p>I have tried both of the following with no luck...</p>
  
  <pre><code>version :thumb do
    process :resize_to_fit =&gt; [200, 200]
  end
  </code></pre>
  
  <p>and</p>
  
  <pre><code>version :thumb do
    process :resize_to_limit =&gt; [200, 200]
  end
  </code></pre>
  
  <p>resize_to_limit obviously resizes the image to fit within the specified dimensions while retaining the original aspect ratio. So that's not right, but resize_to_fit doesn't do it either. I am looking at all of the available of the instance methods <a href="http://rubydoc.info/gems/carrierwave/0.5.1/CarrierWave/RMagick" rel="nofollow">here</a>.</p>
  
  <p>I want to be able to upload a picture of any aspect ratio and dimensions and it will come out at 200x200.</p>