title: How do I append dynamic text to image using rmagick?
body: <p>I'm building a rails app where a user can type in six words about themselves and upload an image. I want to append those six words to the image. </p>
  
  <p>I know how to get text append to work using "static" text, but I don't know how to link the text field to the form the users fill out when they type in their six words. </p>
  
  <p>Right now, 'Text' is static and whatever I put. </p>
  
  <p>I wonder why the following doesn't work?</p>
  
  <pre><code>process :textify =&gt; &lt;%= @user.sixwords %&gt; 
  </code></pre>
  
  <p>Here is what I have:</p>
  
  <pre><code>process :textify =&gt; 'Text'
  
    def textify(phrase)
      manipulate! do |img|
      img = img.sepiatone
  
    title = Magick::Draw.new
  
    title.annotate(img, 0,0,0,40, phrase) {
      self.font_family = 'Helvetica'
      self.fill = 'white'
      self.pointsize = 32  
    }
  
    img = img.write('newimg.gif')
   end
  end
  </code></pre>
  
  <p>Thanks for helping me become a little less of a n00b! :)</p>